]> source.dussan.org Git - nextcloud-server.git/commitdiff
Update settings/ajax/getlog.php
authorThomas Müller <thomas.mueller@tmit.eu>
Tue, 4 Sep 2012 09:46:56 +0000 (12:46 +0300)
committerThomas Müller <thomas.mueller@tmit.eu>
Tue, 4 Sep 2012 09:46:56 +0000 (12:46 +0300)
respect coding style

settings/ajax/getlog.php

index d5af22ac339f28fdd4c8e4cbfd712ba5b9ed246a..9b9240f82539224083233bcb886d4dad56abf2b2 100644 (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));