aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-12-10 11:52:10 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-12-10 11:52:10 +0000
commit83656b0d6ead76c7ae532a53191b60ea68b4dbf4 (patch)
tree91a1cd29678b458519a0793c0459f44be11ab332
parentd25d6cbec6e74bc75c37a4d3dcf06260df023574 (diff)
downloadelgg-83656b0d6ead76c7ae532a53191b60ea68b4dbf4.tar.gz
elgg-83656b0d6ead76c7ae532a53191b60ea68b4dbf4.tar.bz2
removes unused variables - closes #1129
git-svn-id: http://code.elgg.org/elgg/trunk@3747 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--actions/admin/user/ban.php2
1 files changed, 0 insertions, 2 deletions
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'));
}