summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2014-05-21 13:10:23 +0200
committerJoas Schilling <nickvergessen@gmx.de>2014-05-21 13:10:23 +0200
commit4fbfe077fb611bea2581556c52c068a3163c73b3 (patch)
tree66111016150e1a6fcd4f23b7cf668594a0f406ce
parent457a4aa4255799836bcd2138509323d567114d1b (diff)
downloadnextcloud-server-4fbfe077fb611bea2581556c52c068a3163c73b3.tar.gz
nextcloud-server-4fbfe077fb611bea2581556c52c068a3163c73b3.zip
Move return to new line
-rw-r--r--lib/private/preferences.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/private/preferences.php b/lib/private/preferences.php
index c0000804aa5..62ef9086551 100644
--- a/lib/private/preferences.php
+++ b/lib/private/preferences.php
@@ -213,7 +213,9 @@ class Preferences {
* @return array Mapped values: userid => value
*/
public function getValueForUsers($app, $key, $users) {
- if (empty($users) || !is_array($users)) return array();
+ if (empty($users) || !is_array($users)) {
+ return array();
+ }
$chunked_users = array_chunk($users, 50, true);
$placeholders_50 = implode(',', array_fill(0, 50, '?'));