X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=include%2Fvalidations%2Fnames.inc.php;h=41ee0f12a08c543271d54d16f3505b9dd39542c6;hb=a19178e9a93c4eb3eb750845e85f87f2294ed1e4;hp=d891e596b5044688de70868bbe4fd0e89ec71f38;hpb=fe13bc1d7ba9f72d452ec07baf8538a74b7c67b8;p=platal.git diff --git a/include/validations/names.inc.php b/include/validations/names.inc.php index d891e59..41ee0f1 100644 --- a/include/validations/names.inc.php +++ b/include/validations/names.inc.php @@ -122,10 +122,8 @@ class NamesReq extends Validate public function commit() { - require_once 'notifs.inc.php'; require_once 'name.func.inc.php'; - register_watch_op($this->user->id(), WATCH_FICHE, '', 'search_names'); set_profile_display($this->display_names); set_alias_names($this->sn_new, $this->sn_old, true, $this->new_alias);