summaryrefslogtreecommitdiffstats
path: root/settings/ajax/getlog.php
diff options
context:
space:
mode:
authorGeorg Ehrke <dev@georgswebsite.de>2012-08-04 17:38:31 +0200
committerJörn Friedrich Dreyer <jfd@butonic.de>2012-08-24 15:00:53 +0200
commit4d3c45a8263bd394824a7d2368f0b5e83218cbda (patch)
treed69d3427006e34adbd168c05d9600c0cf044b748 /settings/ajax/getlog.php
parentf86f4c8bfd6c57012666f2c705ea8783f687e620 (diff)
downloadnextcloud-server-4d3c45a8263bd394824a7d2368f0b5e83218cbda.tar.gz
nextcloud-server-4d3c45a8263bd394824a7d2368f0b5e83218cbda.zip
backport 1bccc80996e270f928c207cdd3090f4284abaea5
Diffstat (limited to 'settings/ajax/getlog.php')
-rw-r--r--settings/ajax/getlog.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/ajax/getlog.php b/settings/ajax/getlog.php
index d9e80de37ba..d5af22ac339 100644
--- a/settings/ajax/getlog.php
+++ b/settings/ajax/getlog.php
@@ -14,4 +14,4 @@ $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)));
+OC_JSON::success(array("data" => OC_Util::sanitizeHTML($entries), "remain"=>(count(OC_Log_Owncloud::getEntries(1,$offset + $offset)) != 0)?true:false));