X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=include%2Fvalidations%2Fphotos.inc.php;h=f78607d2935d826f982f3038abe2338e631252d7;hb=c3b581dc531c40960509e3115d8c61ebd5897ee3;hp=1aac21673606df9ca6bad31532761d8b63671bad;hpb=684195f33b11e3067200dd3a9e14304bd7d04463;p=platal.git diff --git a/include/validations/photos.inc.php b/include/validations/photos.inc.php index 1aac216..f78607d 100644 --- a/include/validations/photos.inc.php +++ b/include/validations/photos.inc.php @@ -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; }