From b06c6d6f157513e2fc5d6eaa1e6c02d1e1046567 Mon Sep 17 00:00:00 2001 From: brettp Date: Mon, 13 Sep 2010 15:31:24 +0000 Subject: Refs #2450: Updated docs for core admin actions. git-svn-id: http://code.elgg.org/elgg/trunk@6929 36083f99-b078-4883-b0ff-0f9b5a30f544 --- actions/admin/user/unban.php | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) (limited to 'actions/admin/user/unban.php') diff --git a/actions/admin/user/unban.php b/actions/admin/user/unban.php index 6e04c8114..2bc609b5c 100644 --- a/actions/admin/user/unban.php +++ b/actions/admin/user/unban.php @@ -1,26 +1,20 @@ canEdit())) { - // Now actually disable it if ($obj->unban()) { system_message(elgg_echo('admin:user:unban:yes')); } else { @@ -33,4 +27,3 @@ if (($obj instanceof ElggUser) && ($obj->canEdit())) { access_show_hidden_entities($access_status); forward($_SERVER['HTTP_REFERER']); -exit; -- cgit v1.2.3