From 4801d9c02a01999aea0d637d257e57b9b2f05bc4 Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Tue, 27 Jan 2015 16:15:03 +0100 Subject: Use single quotes --- apps/files_sharing/lib/capabilities.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'apps') 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( -- cgit v1.2.3