Skip to content
Snippets Groups Projects
Commit 59eac3bc authored by Brice Maron's avatar Brice Maron
Browse files

Correct little typo/bug in log display and remove ending php tag

parent 2ac00b37
No related branches found
No related tags found
Loading
......@@ -33,5 +33,3 @@ while ($source != "" && $source != "/" && $source != "." && $source != $userDire
if (!empty($users)) {
OC_JSON::encodedPrint($users);
}
?>
......@@ -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');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment