various fixes for php5.
[platal.git] / include / validations / photos.inc.php
index 3c7c149..6cab17e 100644 (file)
@@ -45,9 +45,6 @@ class PhotoReq extends Validate
     function PhotoReq($_uid, $_data, $_stamp=0)
     {
         $this->Validate($_uid, true, 'photo', $_stamp);
-        if (!$this->_get_image($_data)) {
-            return ($this = null);
-        }
     }
 
     // }}}