summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2015-01-27 16:15:03 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2015-02-04 14:56:31 +0100
commit4801d9c02a01999aea0d637d257e57b9b2f05bc4 (patch)
tree4f323ea55e51023182527cadf70a3a5f454fe827 /apps
parentea1f726b7defe1161e22c3d2972d85fbb530d182 (diff)
downloadnextcloud-server-4801d9c02a01999aea0d637d257e57b9b2f05bc4.tar.gz
nextcloud-server-4801d9c02a01999aea0d637d257e57b9b2f05bc4.zip
Use single quotes
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(