Update settings/ajax/getlog.php

respect coding style
This commit is contained in:
Thomas Müller 2012-09-04 12:46:56 +03:00
parent caaaf7a7bf
commit 6308f80329
1 changed files with 4 additions and 2 deletions

View File

@ -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));