canDo('delUser')) throw new ActionDisabledException(); } /** @inheritdoc */ public function preProcess() { global $lang; if (auth_deleteprofile()) { msg($lang['profdeleted'], 1); throw new ActionAbort('show'); } else { throw new ActionAbort('profile'); } } }