From: River Tarnell Date: Fri, 18 Feb 2005 15:05:06 +0000 (+0000) Subject: remove unused variable X-Git-Tag: 1.5.0alpha1~719 X-Git-Url: http://git.cyclocoop.org/wiki/Target_page?a=commitdiff_plain;h=ee5ce450cf7f3e617867489d7166795b6274394e;p=lhc%2Fweb%2Fwiklou.git remove unused variable --- diff --git a/includes/SpecialMakesysop.php b/includes/SpecialMakesysop.php index bc6dcf5b1f..aa062839c2 100644 --- a/includes/SpecialMakesysop.php +++ b/includes/SpecialMakesysop.php @@ -166,7 +166,6 @@ class MakesysopForm { $id = intval( substr( $username, 1 ) ); $sql = "SELECT ur_user,ur_rights FROM $user_rights WHERE ur_user=$id FOR UPDATE"; } else { - $encName = $dbw->strencode( $username ); $sql = "SELECT ur_user, ur_rights FROM $usertable LEFT JOIN $user_rights ON user_id=ur_user WHERE user_name = '{$username}' FOR UPDATE"; }