mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:20 +01:00
make sure admin tree displays following toplevel order: admin, user, groups, apps by returning admin hooks first, despite alphabetical sorting of apps
This commit is contained in:
parent
9cc130e0e7
commit
ab57cbefad
@ -495,6 +495,8 @@ class admin_ui
|
||||
{
|
||||
return strcasecmp(lang($a), lang($b));
|
||||
});
|
||||
// make sure admin is first
|
||||
self::$hook_data = array_merge(array('admin' => self::$hook_data['admin']), self::$hook_data);
|
||||
|
||||
return self::$hook_data;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user