diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2012-09-04 13:19:04 +0300 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2012-09-04 13:19:04 +0300 |
commit | f4cace6cc1da872ac6a06cb5ccac7f0335be4261 (patch) | |
tree | 76587c3311e44e130b88a1127fb4f96f0bf1795c /core/ajax | |
parent | 6e76c59007ef51c78a056cb0be7e1f96f6e4a210 (diff) | |
download | nextcloud-server-f4cace6cc1da872ac6a06cb5ccac7f0335be4261.tar.gz nextcloud-server-f4cace6cc1da872ac6a06cb5ccac7f0335be4261.zip |
Respect coding style
Diffstat (limited to 'core/ajax')
-rw-r--r-- | core/ajax/appconfig.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/core/ajax/appconfig.php b/core/ajax/appconfig.php index bf749be3e30..3ad9e2326c3 100644 --- a/core/ajax/appconfig.php +++ b/core/ajax/appconfig.php @@ -5,7 +5,7 @@ * See the COPYING-README file. */ -require_once ("../../lib/base.php"); +require_once "../../lib/base.php"; OC_Util::checkAdminUser(); OCP\JSON::callCheck(); @@ -13,10 +13,10 @@ $action=isset($_POST['action'])?$_POST['action']:$_GET['action']; $result=false; switch($action){ case 'getValue': - $result=OC_Appconfig::getValue($_GET['app'],$_GET['key'],$_GET['defaultValue']); + $result=OC_Appconfig::getValue($_GET['app'], $_GET['key'], $_GET['defaultValue']); break; case 'setValue': - $result=OC_Appconfig::setValue($_POST['app'],$_POST['key'],$_POST['value']); + $result=OC_Appconfig::setValue($_POST['app'], $_POST['key'], $_POST['value']); break; case 'getApps': $result=OC_Appconfig::getApps(); @@ -25,10 +25,10 @@ switch($action){ $result=OC_Appconfig::getKeys($_GET['app']); break; case 'hasKey': - $result=OC_Appconfig::hasKey($_GET['app'],$_GET['key']); + $result=OC_Appconfig::hasKey($_GET['app'], $_GET['key']); break; case 'deleteKey': - $result=OC_Appconfig::deleteKey($_POST['app'],$_POST['key']); + $result=OC_Appconfig::deleteKey($_POST['app'], $_POST['key']); break; case 'deleteApp': $result=OC_Appconfig::deleteApp($_POST['app']); |