summaryrefslogtreecommitdiffstats
path: root/lib/vcategories.php
diff options
context:
space:
mode:
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));
}
}