summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorris Jobke <morris.jobke@gmail.com>2013-04-23 14:56:33 +0200
committerMorris Jobke <morris.jobke@gmail.com>2013-04-23 14:56:33 +0200
commite78a4640022c9b5ce833f34de118dea4608cc560 (patch)
tree1648b823e81708d05bd1243bdb75283e43e5e5a3
parentb9b2e0269a2816d8708dcbaf82467d6200c830af (diff)
downloadnextcloud-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-xsettings/admin.php5
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);