diff options
author | Morris Jobke <morris.jobke@gmail.com> | 2013-04-23 14:56:33 +0200 |
---|---|---|
committer | Morris Jobke <morris.jobke@gmail.com> | 2013-04-23 14:56:33 +0200 |
commit | e78a4640022c9b5ce833f34de118dea4608cc560 (patch) | |
tree | 1648b823e81708d05bd1243bdb75283e43e5e5a3 | |
parent | b9b2e0269a2816d8708dcbaf82467d6200c830af (diff) | |
download | nextcloud-server-e78a4640022c9b5ce833f34de118dea4608cc560.tar.gz nextcloud-server-e78a4640022c9b5ce833f34de118dea4608cc560.zip |
remove log sort in admin section
doesn't work anymore, because now the datetime is saved as string (ref #2975)
-rwxr-xr-x | settings/admin.php | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/settings/admin.php b/settings/admin.php index c7848803095..035cef5bf95 100755 --- a/settings/admin.php +++ b/settings/admin.php @@ -20,11 +20,6 @@ $htaccessworking=OC_Util::ishtaccessworking(); $entries=OC_Log_Owncloud::getEntries(3); $entriesremain=(count(OC_Log_Owncloud::getEntries(4)) > 3)?true:false; -function compareEntries($a, $b) { - return $b->time - $a->time; -} -usort($entries, 'compareEntries'); - $tmpl->assign('loglevel', OC_Config::getValue( "loglevel", 2 )); $tmpl->assign('entries', $entries); $tmpl->assign('entriesremain', $entriesremain); |