X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=include%2Fvalidations%2Fphotos.inc.php;h=1aac21673606df9ca6bad31532761d8b63671bad;hb=100e66fc8ab2b48621b287d50079558d83187278;hp=2a2fec755f73e20b463e9691276631fbc3f3b59c;hpb=f9bebf66a51f0920e55eb6d2c60c88e2eafbc598;p=platal.git diff --git a/include/validations/photos.inc.php b/include/validations/photos.inc.php index 2a2fec7..1aac216 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); + //register_watch_op($this->user->id(), WATCH_FICHE, '', 'photo'); return true; }