Kill ugly symlinks from banana sources to include/banana.
[platal.git] / include / validations / photos.inc.php
index 1aac216..f78607d 100644 (file)
@@ -137,11 +137,10 @@ class PhotoReq extends Validate
 
     public function commit()
     {
-        //require_once 'notifs.inc.php';
         XDB::execute('REPLACE INTO  profile_photos (pid, attachmime, attach, x, y)
                             VALUES  ({?},{?},{?},{?},{?})',
                      $this->user->profile()->id(), $this->mimetype, $this->data, $this->x, $this->y);
-        //register_watch_op($this->user->id(), WATCH_FICHE, '', 'photo');
+
         return true;
     }