X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=include%2Fvalidations%2Fphotos.inc.php;h=f78607d2935d826f982f3038abe2338e631252d7;hb=c3b581dc531c40960509e3115d8c61ebd5897ee3;hp=7194e04d0dcf73b7dfacec125559d5704962a0b2;hpb=ea74d2785d9c1ff5571ebf2f73c89cbf19c8dd07;p=platal.git diff --git a/include/validations/photos.inc.php b/include/validations/photos.inc.php index 7194e04..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; }