X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=include%2Fvalidations%2Fphotos.inc.php;h=f78607d2935d826f982f3038abe2338e631252d7;hb=00ca0ad5370df5be4a0272364fb16a4385ffabfe;hp=2a2fec755f73e20b463e9691276631fbc3f3b59c;hpb=e85e121558a37e06cbf2099843588a6e5e5c267a;p=platal.git diff --git a/include/validations/photos.inc.php b/include/validations/photos.inc.php index 2a2fec7..f78607d 100644 --- a/include/validations/photos.inc.php +++ b/include/validations/photos.inc.php @@ -1,6 +1,6 @@ user->id(), $this->mimetype, $this->data, $this->x, $this->y); - register_watch_op($this->user->id(), WATCH_FICHE, '', 'photo'); + $this->user->profile()->id(), $this->mimetype, $this->data, $this->x, $this->y); + return true; }