forked from extern/egroupware
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
7f63eb36af
commit
1ab93cf856
@ -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