Respect coding style
This commit is contained in:
parent
f4cace6cc1
commit
ff8b8909c1
|
@ -7,14 +7,14 @@
|
||||||
*/
|
*/
|
||||||
function bailOut($msg) {
|
function bailOut($msg) {
|
||||||
OC_JSON::error(array('data' => array('message' => $msg)));
|
OC_JSON::error(array('data' => array('message' => $msg)));
|
||||||
OC_Log::write('core','ajax/vcategories/add.php: '.$msg, OC_Log::DEBUG);
|
OC_Log::write('core', 'ajax/vcategories/add.php: '.$msg, OC_Log::DEBUG);
|
||||||
exit();
|
exit();
|
||||||
}
|
}
|
||||||
function debug($msg) {
|
function debug($msg) {
|
||||||
OC_Log::write('core','ajax/vcategories/add.php: '.$msg, OC_Log::DEBUG);
|
OC_Log::write('core', 'ajax/vcategories/add.php: '.$msg, OC_Log::DEBUG);
|
||||||
}
|
}
|
||||||
|
|
||||||
require_once('../../../lib/base.php');
|
require_once '../../../lib/base.php';
|
||||||
OC_JSON::checkLoggedIn();
|
OC_JSON::checkLoggedIn();
|
||||||
$category = isset($_GET['category'])?strip_tags($_GET['category']):null;
|
$category = isset($_GET['category'])?strip_tags($_GET['category']):null;
|
||||||
$app = isset($_GET['app'])?$_GET['app']:null;
|
$app = isset($_GET['app'])?$_GET['app']:null;
|
||||||
|
|
Loading…
Reference in New Issue