From 0b96c67a9ec358156ed8e3c9631dfa6baedac3f2 Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Sun, 1 May 2011 11:20:14 +0000 Subject: [PATCH] Remove unneeded manual quoting from r87180 --- includes/api/ApiQueryAllUsers.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ) ); } -- 2.20.1