aboutsummaryrefslogtreecommitdiff
path: root/actions/admin/user
diff options
context:
space:
mode:
Diffstat (limited to 'actions/admin/user')
-rw-r--r--actions/admin/user/ban.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/admin/user/ban.php b/actions/admin/user/ban.php
index 17e8dacb8..33232b3eb 100644
--- a/actions/admin/user/ban.php
+++ b/actions/admin/user/ban.php
@@ -22,7 +22,7 @@
if ( ($obj instanceof ElggUser) && ($obj->canEdit()))
{
- disable_entities($obj->guid);
+ disable_user_entities($obj->guid);
// Now actually disable it
if ($obj->disable('banned')) {
system_message(elgg_echo('admin:user:ban:yes'));