Correct little typo/bug in log display and remove ending php tag
This commit is contained in:
parent
2ac00b378a
commit
59eac3bc29
|
@ -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');
|
||||
|
||||
|
|
Loading…
Reference in New Issue