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);
+
+ // Update the local User object, to pick up the new bestalias.
+ $this->user = User::getSilent($this->user->id());
+
return true;
}