From 83656b0d6ead76c7ae532a53191b60ea68b4dbf4 Mon Sep 17 00:00:00 2001 From: cash Date: Thu, 10 Dec 2009 11:52:10 +0000 Subject: removes unused variables - closes #1129 git-svn-id: http://code.elgg.org/elgg/trunk@3747 36083f99-b078-4883-b0ff-0f9b5a30f544 --- actions/admin/user/ban.php | 2 -- 1 file changed, 2 deletions(-) (limited to 'actions/admin/user') diff --git a/actions/admin/user/ban.php b/actions/admin/user/ban.php index 030f5ae73..9a0ad58bb 100644 --- a/actions/admin/user/ban.php +++ b/actions/admin/user/ban.php @@ -26,8 +26,6 @@ if (($obj instanceof ElggUser) && ($obj->canEdit())) { register_error(elgg_echo('admin:user:ban:no')); } } else { - $canedit = $obj->canEdit(); - $isinstance = ($obj instanceof ElggUser); register_error(elgg_echo('admin:user:ban:no')); } -- cgit v1.2.3