mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 23:29:31 +01:00
use uasort:sortByMailbox for inital sorting instead of ksort
This commit is contained in:
parent
26a76a023a
commit
6b92b480ba
@ -2793,7 +2793,7 @@ class emailadmin_imapbase
|
|||||||
if (self::$debugTimes) $starttime = microtime (true);
|
if (self::$debugTimes) $starttime = microtime (true);
|
||||||
// Merge of all auto folders and specialusefolders
|
// Merge of all auto folders and specialusefolders
|
||||||
$autoFoldersTmp = array_unique((array_merge(self::$autoFolders, array_values(self::$specialUseFolders))));
|
$autoFoldersTmp = array_unique((array_merge(self::$autoFolders, array_values(self::$specialUseFolders))));
|
||||||
ksort($folders);
|
uasort($folders,array($this,'sortByMailbox'));//ksort($folders);
|
||||||
$tmpFolders = $folders;
|
$tmpFolders = $folders;
|
||||||
$inboxFolderObject=$inboxSubFolderObjects=$autoFolderObjects=$typeFolderObject=$mySpecialUseFolders=array();
|
$inboxFolderObject=$inboxSubFolderObjects=$autoFolderObjects=$typeFolderObject=$mySpecialUseFolders=array();
|
||||||
$googleMailFolderObject=$googleAutoFolderObjects=$googleSubFolderObjects=array();
|
$googleMailFolderObject=$googleAutoFolderObjects=$googleSubFolderObjects=array();
|
||||||
|
Loading…
Reference in New Issue
Block a user