diff options
Diffstat (limited to 'actions')
-rw-r--r-- | actions/admin/user/delete.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/admin/user/delete.php b/actions/admin/user/delete.php index 50f654734..300fa5671 100644 --- a/actions/admin/user/delete.php +++ b/actions/admin/user/delete.php @@ -21,7 +21,7 @@ if ( ($obj instanceof ElggUser) && ($obj->canEdit())) { - if (delete_entity($guid)) + if ($obj->delete()) system_message(elgg_echo('admin:user:delete:yes')); else register_error(elgg_echo('admin:user:delete:no')); |