aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/private/legacy/OC_Util.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/legacy/OC_Util.php b/lib/private/legacy/OC_Util.php
index 8d2bf477d52..82b7abf6c8f 100644
--- a/lib/private/legacy/OC_Util.php
+++ b/lib/private/legacy/OC_Util.php
@@ -1006,10 +1006,10 @@ class OC_Util {
$perms = substr(decoct(@fileperms($dataDirectory)), -3);
if ($perms[2] !== '0') {
$l = \OC::$server->getL10N('lib');
- return [
+ return [[
'error' => $l->t('Your data directory is readable by other users'),
'hint' => $l->t('Please change the permissions to 0770 so that the directory cannot be listed by other users.'),
- ];
+ ]];
}
}
return [];