]> source.dussan.org Git - nextcloud-server.git/commitdiff
Respect coding style
authorThomas Müller <thomas.mueller@tmit.eu>
Tue, 4 Sep 2012 10:21:36 +0000 (13:21 +0300)
committerThomas Müller <thomas.mueller@tmit.eu>
Tue, 4 Sep 2012 10:21:36 +0000 (13:21 +0300)
core/ajax/vcategories/edit.php

index 3e5540cbc227dc521172821a1fb49f79ff39dbe7..a0e67841c5571d1b6489b8ac032ca8c69f78de9c 100644 (file)
@@ -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();