From: Sam Reed Date: Sun, 1 May 2011 11:20:14 +0000 (+0000) Subject: Remove unneeded manual quoting from r87180 X-Git-Tag: 1.31.0-rc.0~30482 X-Git-Url: http://git.cyclocoop.org/%22.%20generer_url_ecrire%28%22sites_tous%22%2C%22%22%29.%20%22?a=commitdiff_plain;h=0b96c67a9ec358156ed8e3c9631dfa6baedac3f2;p=lhc%2Fweb%2Fwiklou.git Remove unneeded manual quoting from r87180 --- diff --git a/includes/api/ApiQueryAllUsers.php b/includes/api/ApiQueryAllUsers.php index 5f1469fb0e..d492574827 100644 --- a/includes/api/ApiQueryAllUsers.php +++ b/includes/api/ApiQueryAllUsers.php @@ -103,7 +103,7 @@ class ApiQueryAllUsers extends ApiQueryBase { $this->addTables( 'user_groups', 'ug1' ); if ( count( $params['excludegroup'] ) == 1 ) { - $exclude = array( 'ug1.ug_group = ' . $db->addQuotes( $params['excludegroup'][0] ) ); + $exclude = array( 'ug1.ug_group' => $params['excludegroup'][0] ); } else { $exclude = array( $db->makeList( array( 'ug1.ug_group' => $params['excludegroup'] ), LIST_OR ) ); }