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

Update settings/ajax/getlog.php

respect coding style
parent caaaf7a7
No related branches found
No related tags found
No related merge requests found
......@@ -6,7 +6,7 @@
*/
// Init owncloud
require_once('../../lib/base.php');
require_once '../../lib/base.php';
OC_JSON::checkAdminUser();
......@@ -14,4 +14,6 @@ $count=(isset($_GET['count']))?$_GET['count']:50;
$offset=(isset($_GET['offset']))?$_GET['offset']:0;
$entries=OC_Log_Owncloud::getEntries($count,$offset);
OC_JSON::success(array("data" => OC_Util::sanitizeHTML($entries), "remain"=>(count(OC_Log_Owncloud::getEntries(1,$offset + $offset)) != 0)?true:false));
OC_JSON::success(array(
"data" => OC_Util::sanitizeHTML($entries),
"remain"=>(count(OC_Log_Owncloud::getEntries(1, $offset + $offset)) != 0) ? true : false));
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