aboutsummaryrefslogtreecommitdiffstats
path: root/settings/ajax
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2013-08-17 12:58:10 +0200
committerBart Visscher <bartv@thisnet.nl>2013-08-17 12:58:10 +0200
commit29b6dd53a095fd4140bf68a5ba7a4fd57c04a82d (patch)
tree5317dac0dc1db2a2880a3eb91441559654f72340 /settings/ajax
parentc538ac3081119e8bbd2aa375505ce79047a4d3f4 (diff)
downloadnextcloud-server-29b6dd53a095fd4140bf68a5ba7a4fd57c04a82d.tar.gz
nextcloud-server-29b6dd53a095fd4140bf68a5ba7a4fd57c04a82d.zip
Compare result are already true/false
Diffstat (limited to 'settings/ajax')
-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 e7151419286..f160512b6ad 100644
--- a/settings/ajax/getlog.php
+++ b/settings/ajax/getlog.php
@@ -16,6 +16,6 @@ $data = array();
OC_JSON::success(
array(
"data" => $entries,
- "remain"=>(count(OC_Log_Owncloud::getEntries(1, $offset + $count)) !== 0) ? true : false
+ "remain"=>count(OC_Log_Owncloud::getEntries(1, $offset + $count)) !== 0
)
);