From 50606888ddaa348bdabcd1e735eed55e26ff9c75 Mon Sep 17 00:00:00 2001 From: marcus Date: Thu, 8 Jan 2009 14:34:29 +0000 Subject: Refs #640: Renamed and moved entities.php:disable_entities to user.php:disable_user_entities git-svn-id: https://code.elgg.org/elgg/trunk@2545 36083f99-b078-4883-b0ff-0f9b5a30f544 --- actions/admin/user/ban.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actions/admin/user') 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')); -- cgit v1.2.3