summaryrefslogtreecommitdiffstats
path: root/lib/private/group
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2014-10-07 15:54:25 +0200
committerVincent Petry <pvince81@owncloud.com>2014-10-07 15:54:25 +0200
commitd7db006315cec4d2c0497da06d16db5edfc9b9d2 (patch)
tree77af1b51cde7ef8844b881608e40c18191054d3f /lib/private/group
parent432cd4a5c2b1c6f3a5c0ea7205ed5a01ee0381d7 (diff)
downloadnextcloud-server-d7db006315cec4d2c0497da06d16db5edfc9b9d2.tar.gz
nextcloud-server-d7db006315cec4d2c0497da06d16db5edfc9b9d2.zip
Revert "fix for issue #10880"
This reverts commit 0df070a8e4f6718e3cd86aa4d5a5fc62c53f6eee.
Diffstat (limited to 'lib/private/group')
-rw-r--r--lib/private/group/database.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/group/database.php b/lib/private/group/database.php
index 8aebefabd27..e6a5565b20e 100644
--- a/lib/private/group/database.php
+++ b/lib/private/group/database.php
@@ -168,7 +168,7 @@ class OC_Group_Database extends OC_Group_Backend {
* Returns a list with all groups
*/
public function getGroups($search = '', $limit = null, $offset = null) {
- $stmt = OC_DB::prepare('SELECT `gid` FROM `*PREFIX*groups` WHERE LOWER(`gid`) LIKE LOWER(?) ORDER BY `gid` ASC', $limit, $offset);
+ $stmt = OC_DB::prepare('SELECT `gid` FROM `*PREFIX*groups` WHERE `gid` LIKE ? ORDER BY `gid` ASC', $limit, $offset);
$result = $stmt->execute(array('%' . $search . '%'));
$groups = array();
while ($row = $result->fetchRow()) {