diff options
author | jfd <jfd@lance> | 2012-08-25 02:26:50 +0200 |
---|---|---|
committer | jfd <jfd@lance> | 2012-08-25 02:26:50 +0200 |
commit | 1bfe26bb097d163ff1a6e7e1a1aee5dd9c628f79 (patch) | |
tree | 3604f8ba5568eb3f3efe33516f2c2702b2e79072 /lib/user/database.php | |
parent | 379f27ed03fc6cc1b83cfea4921390906ca33514 (diff) | |
download | nextcloud-server-1bfe26bb097d163ff1a6e7e1a1aee5dd9c628f79.tar.gz nextcloud-server-1bfe26bb097d163ff1a6e7e1a1aee5dd9c628f79.zip |
remove superflous LIMIT
Diffstat (limited to 'lib/user/database.php')
-rw-r--r-- | lib/user/database.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/user/database.php b/lib/user/database.php index 1746c4fe0c0..dff4d145fc7 100644 --- a/lib/user/database.php +++ b/lib/user/database.php @@ -155,7 +155,7 @@ class OC_User_Database extends OC_User_Backend { * Get a list of all users. */ public function getUsers($search = '', $limit = null, $offset = null) { - $query = OC_DB::prepare('SELECT `uid` FROM `*PREFIX*users` WHERE `uid` LIKE ? LIMIT',$limit,$offset); + $query = OC_DB::prepare('SELECT `uid` FROM `*PREFIX*users` WHERE `uid` LIKE ?',$limit,$offset); $result = $query->execute(array($search.'%')); $users = array(); while ($row = $result->fetchRow()) { |