diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2012-09-04 12:46:56 +0300 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2012-09-04 12:46:56 +0300 |
commit | 6308f803297f87e1c0b22503adfe81758a129f96 (patch) | |
tree | d56d151d1a648b19f727317880c047ef1a783cf9 /settings | |
parent | caaaf7a7bf55814a6a3bd44ae5a649c230317c31 (diff) | |
download | nextcloud-server-6308f803297f87e1c0b22503adfe81758a129f96.tar.gz nextcloud-server-6308f803297f87e1c0b22503adfe81758a129f96.zip |
Update settings/ajax/getlog.php
respect coding style
Diffstat (limited to 'settings')
-rw-r--r-- | settings/ajax/getlog.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/settings/ajax/getlog.php b/settings/ajax/getlog.php index d5af22ac339..9b9240f8253 100644 --- a/settings/ajax/getlog.php +++ b/settings/ajax/getlog.php @@ -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)); |