From b0b84c911c200fd355b55e8b701a57baa8e62477 Mon Sep 17 00:00:00 2001 From: marcus Date: Wed, 13 Aug 2008 15:52:18 +0000 Subject: Refs #237: Added option, now just needs a search listing banned users. Depends #243 git-svn-id: https://code.elgg.org/elgg/trunk@1904 36083f99-b078-4883-b0ff-0f9b5a30f544 --- actions/admin/user/unban.php | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 actions/admin/user/unban.php (limited to 'actions/admin/user') diff --git a/actions/admin/user/unban.php b/actions/admin/user/unban.php new file mode 100644 index 000000000..61c62a47c --- /dev/null +++ b/actions/admin/user/unban.php @@ -0,0 +1,40 @@ +canEdit())) + { + // Now actually disable it + if ($obj->enable()) + system_message(elgg_echo('admin:user:unban:yes')); + else + register_error(elgg_echo('admin:user:unban:no')); + } + else + register_error(elgg_echo('admin:user:unban:no')); + + access_show_hidden_entities($access_status); + + forward($_SERVER['HTTP_REFERER']); + exit; +?> \ No newline at end of file -- cgit v1.2.3