Skip to content
Snippets Groups Projects
Commit 9a8a1017 authored by Thomas Müller's avatar Thomas Müller
Browse files

Update settings/ajax/setloglevel.php

respect coding style
parent dafe28e0
No related branches found
No related tags found
No related merge requests found
......@@ -5,12 +5,10 @@
* See the COPYING-README file.
*/
require_once('../../lib/base.php');
require_once '../../lib/base.php';
OC_Util::checkAdminUser();
OCP\JSON::callCheck();
OC_Config::setValue( 'loglevel', $_POST['level'] );
echo 'true';
?>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment