summaryrefslogtreecommitdiffstats
path: root/settings/log.php
diff options
context:
space:
mode:
authorBrice Maron <brice@bmaron.net>2011-10-18 20:10:17 +0200
committerBrice Maron <brice@bmaron.net>2011-10-18 20:10:17 +0200
commit59eac3bc29426b4871b03e9d173467e7b8059501 (patch)
tree327537213d41e3c16272f566862eac35cdc41c3a /settings/log.php
parent2ac00b378a536b67a85bf5972952663ca432d115 (diff)
downloadnextcloud-server-59eac3bc29426b4871b03e9d173467e7b8059501.tar.gz
nextcloud-server-59eac3bc29426b4871b03e9d173467e7b8059501.zip
Correct little typo/bug in log display and remove ending php tag
Diffstat (limited to 'settings/log.php')
-rw-r--r--settings/log.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/log.php b/settings/log.php
index e181a5a4967..21303c2170f 100644
--- a/settings/log.php
+++ b/settings/log.php
@@ -31,7 +31,7 @@ OC_App::setActiveNavigationEntry( "core_log" );
$entries=OC_Log::getEntries();
function compareEntries($a,$b){
- return $b->time-$a>time;
+ return $b->time - $a->time;
}
usort($entries, 'compareEntries');