Update settings/ajax/setloglevel.php

respect coding style
This commit is contained in:
Thomas Müller 2012-09-04 12:55:20 +03:00
parent dafe28e079
commit 9a8a101756
1 changed files with 1 additions and 3 deletions

View File

@ -5,12 +5,10 @@
* See the COPYING-README file. * See the COPYING-README file.
*/ */
require_once('../../lib/base.php'); require_once '../../lib/base.php';
OC_Util::checkAdminUser(); OC_Util::checkAdminUser();
OCP\JSON::callCheck(); OCP\JSON::callCheck();
OC_Config::setValue( 'loglevel', $_POST['level'] ); OC_Config::setValue( 'loglevel', $_POST['level'] );
echo 'true'; echo 'true';
?>