diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2012-09-04 13:21:36 +0300 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2012-09-04 13:21:36 +0300 |
commit | 5868f834c8e38e211759bc1fd31949d77c55fb6a (patch) | |
tree | e21f0a9136f48343760f4746ce29ef586fd3304b /core/ajax | |
parent | ae678414611e8f2a8cab488a51db8c54088ed2e6 (diff) | |
download | nextcloud-server-5868f834c8e38e211759bc1fd31949d77c55fb6a.tar.gz nextcloud-server-5868f834c8e38e211759bc1fd31949d77c55fb6a.zip |
Respect coding style
Diffstat (limited to 'core/ajax')
-rw-r--r-- | core/ajax/vcategories/edit.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/core/ajax/vcategories/edit.php b/core/ajax/vcategories/edit.php index 3e5540cbc22..a0e67841c55 100644 --- a/core/ajax/vcategories/edit.php +++ b/core/ajax/vcategories/edit.php @@ -8,14 +8,14 @@ function bailOut($msg) { OC_JSON::error(array('data' => array('message' => $msg))); - OC_Log::write('core','ajax/vcategories/edit.php: '.$msg, OC_Log::DEBUG); + OC_Log::write('core', 'ajax/vcategories/edit.php: '.$msg, OC_Log::DEBUG); exit(); } function debug($msg) { - OC_Log::write('core','ajax/vcategories/edit.php: '.$msg, OC_Log::DEBUG); + OC_Log::write('core', 'ajax/vcategories/edit.php: '.$msg, OC_Log::DEBUG); } -require_once('../../../lib/base.php'); +require_once '../../../lib/base.php'; OC_JSON::checkLoggedIn(); $app = isset($_GET['app'])?$_GET['app']:null; @@ -29,5 +29,5 @@ $tmpl = new OC_TEMPLATE("core", "edit_categories_dialog"); $vcategories = new OC_VCategories($app); $categories = $vcategories->categories(); debug(print_r($categories, true)); -$tmpl->assign('categories',$categories); +$tmpl->assign('categories', $categories); $tmpl->printpage(); |