X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=include%2Fvalidations%2Fphotos.inc.php;h=1aac21673606df9ca6bad31532761d8b63671bad;hb=100e66fc8ab2b48621b287d50079558d83187278;hp=f65b06c369135de298f59d5ab8c252a1b0c48c37;hpb=de14933c384281bfc5571b8b3d7d7ac94b04bc48;p=platal.git diff --git a/include/validations/photos.inc.php b/include/validations/photos.inc.php index f65b06c..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; }