summaryrefslogtreecommitdiffstats
path: root/lib/vcategories.php
diff options
context:
space:
mode:
authorThomas Tanghus <thomas@tanghus.net>2012-11-04 12:31:06 +0100
committerThomas Tanghus <thomas@tanghus.net>2012-11-04 12:31:06 +0100
commite6a7bba0950688d73f52cd622bdf6ec62dff9281 (patch)
treeaec719c0af896e1f47c0475f13ed2355dbf34f4f /lib/vcategories.php
parent8e5b6bf21d14b6022e543869cba503bb582b1cb5 (diff)
parent17d466b03b91ccc058fe1a88340df36c22a580c2 (diff)
downloadnextcloud-server-e6a7bba0950688d73f52cd622bdf6ec62dff9281.tar.gz
nextcloud-server-e6a7bba0950688d73f52cd622bdf6ec62dff9281.zip
Merge branch 'master' of github.com:owncloud/core into vcategories_db
Conflicts: lib/vcategories.php
Diffstat (limited to 'lib/vcategories.php')
-rw-r--r--lib/vcategories.php6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/vcategories.php b/lib/vcategories.php
index b7a9ee175ff..7032afd5fde 100644
--- a/lib/vcategories.php
+++ b/lib/vcategories.php
@@ -752,11 +752,7 @@ class OC_VCategories {
if(!is_array($haystack)) {
return false;
}
-
- return array_search(
- strtolower($needle),
- array_map('strtolower', $haystack)
- );
+ return array_search(strtolower($needle), array_map('strtolower', $haystack));
}
}