X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=include%2Fvalidations%2Fphotos.inc.php;h=26f45f8a6906665ac16e3cc5c8cda7ee27361ddc;hb=d0327f6de73e81c4bcc656471ca4161e4f1e1e1b;hp=c62cff7d04c70050fd2e9edabfa1b45e6a78df55;hpb=787bb3d745141f2f85bd947ad7dd775d2c63f908;p=platal.git diff --git a/include/validations/photos.inc.php b/include/validations/photos.inc.php index c62cff7..26f45f8 100644 --- a/include/validations/photos.inc.php +++ b/include/validations/photos.inc.php @@ -1,6 +1,6 @@ uid, $this->mimetype, $this->data, $this->x, $this->y); - require_once('notifs.inc.php'); - register_watch_op($this->uid, WATCH_FICHE); + register_watch_op($this->uid, WATCH_FICHE, 'photo'); return true; }