Update settings/ajax/setloglevel.php
respect coding style
This commit is contained in:
parent
dafe28e079
commit
9a8a101756
|
@ -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';
|
||||||
|
|
||||||
?>
|
|
Loading…
Reference in New Issue