diff options
Diffstat (limited to 'actions')
-rw-r--r-- | actions/admin/user/unban.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/admin/user/unban.php b/actions/admin/user/unban.php index 7f7ce3157..1f715008e 100644 --- a/actions/admin/user/unban.php +++ b/actions/admin/user/unban.php @@ -26,7 +26,7 @@ if ( ($obj instanceof ElggUser) && ($obj->canEdit())) { // Now actually disable it - if ($obj->enable()) + if ($obj->unban()) system_message(elgg_echo('admin:user:unban:yes')); else register_error(elgg_echo('admin:user:unban:no')); |