mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:07 +01:00
Fix missing types from admin queue and history filter
This commit is contained in:
parent
0453a43194
commit
6f59d825a5
@ -577,7 +577,9 @@ abstract class admin_cmd
|
||||
{
|
||||
admin_cmd::_instanciate_sql();
|
||||
|
||||
$labels = admin_cmd::$sql->query_list('cmd_type');
|
||||
// Need a new one to avoid column name modification
|
||||
$sql = new Api\Storage\Base('admin','egw_admin_queue',null);
|
||||
$labels = $sql->query_list('cmd_type');
|
||||
|
||||
// for admin app we also add all available cmd objects
|
||||
foreach(scandir(__DIR__) as $file)
|
||||
@ -597,6 +599,11 @@ abstract class admin_cmd
|
||||
{
|
||||
$label = $class::name();
|
||||
}
|
||||
elseif (class_exists('EGroupware\\' . $class))
|
||||
{
|
||||
$class = 'EGroupware\\' . $class;
|
||||
$label = $class::name();
|
||||
}
|
||||
}
|
||||
|
||||
// sort them alphabetic
|
||||
|
Loading…
Reference in New Issue
Block a user