canDo('Profile')) throw new ActionDisabledException(); } /** @inheritdoc */ public function preProcess() { global $lang; if (updateprofile()) { msg($lang['profchanged'], 1); throw new ActionAbort('show'); } } /** @inheritdoc */ public function tplContent() { (new Ui\UserProfile)->show(); } }