summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/files_sharing/lib/capabilities.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/apps/files_sharing/lib/capabilities.php b/apps/files_sharing/lib/capabilities.php
index 25b0484b2ee..f6228e3ec7a 100644
--- a/apps/files_sharing/lib/capabilities.php
+++ b/apps/files_sharing/lib/capabilities.php
@@ -23,18 +23,18 @@ class Capabilities {
$config = \OC::$server->getConfig();
$res = array();
- if ($config->getAppValue('core', 'shareapi_allow_links', 'yes') === "yes") {
- $res["allow_links"] = true;
+ if ($config->getAppValue('core', 'shareapi_allow_links', 'yes') === 'yes') {
+ $res['allow_links'] = true;
- if ($config->getAppValue('core', 'shareapi_enforce_links_password', 'yes') === "yes") {
- $res["enforce_links_password"] = true;
+ if ($config->getAppValue('core', 'shareapi_enforce_links_password', 'yes') === 'yes') {
+ $res['enforce_links_password'] = true;
}
- if ($config->getAppValue('core', 'shareapi_allow_public_upload', 'yes') === "yes") {
- $res["allow_public_upload"] = true;
+ if ($config->getAppValue('core', 'shareapi_allow_public_upload', 'yes') === 'yes') {
+ $res['allow_public_upload'] = true;
}
- $res = array("sharing" => $res);
+ $res = array('sharing' => $res);
}
return new \OC_OCS_Result(array(