forked from extern/egroupware
added version to [phpgw_info][apps] array
This commit is contained in:
parent
1d5c3853f9
commit
03e18e60cd
@ -119,7 +119,8 @@
|
||||
'name' => $app[0],
|
||||
'enabled' => True,
|
||||
'status' => $GLOBALS['phpgw_info']['apps'][$app[0]]['status'],
|
||||
'id' => $GLOBALS['phpgw_info']['apps'][$app[0]]['id']
|
||||
'id' => $GLOBALS['phpgw_info']['apps'][$app[0]]['id'],
|
||||
'version' => $GLOBALS['phpgw_info']['apps'][$app[0]]['version']
|
||||
);
|
||||
}
|
||||
}
|
||||
@ -158,7 +159,8 @@
|
||||
'name' => $app[1],
|
||||
'enabled' => True,
|
||||
'status' => $GLOBALS['phpgw_info']['apps'][$app[1]]['status'],
|
||||
'id' => $GLOBALS['phpgw_info']['apps'][$app[1]]['id']
|
||||
'id' => $GLOBALS['phpgw_info']['apps'][$app[1]]['id'],
|
||||
'version' => $GLOBALS['phpgw_info']['apps'][$app[1]]['version']
|
||||
);
|
||||
}
|
||||
}
|
||||
@ -169,7 +171,8 @@
|
||||
'name' => $apps,
|
||||
'enabled' => True,
|
||||
'status' => $GLOBALS['phpgw_info']['apps'][$apps]['status'],
|
||||
'id' => $GLOBALS['phpgw_info']['apps'][$app[1]]['id']
|
||||
'id' => $GLOBALS['phpgw_info']['apps'][$app[1]]['id'],
|
||||
'version' => $GLOBALS['phpgw_info']['apps'][$app[1]]['version']
|
||||
);
|
||||
}
|
||||
reset($this->data);
|
||||
@ -265,7 +268,8 @@
|
||||
'name' => $app[1],
|
||||
'enabled' => True,
|
||||
'status' => $GLOBALS['phpgw_info']['apps'][$app[1]]['status'],
|
||||
'id' => $GLOBALS['phpgw_info']['apps'][$app[1]]['id']
|
||||
'id' => $GLOBALS['phpgw_info']['apps'][$app[1]]['id'],
|
||||
'version' => $GLOBALS['phpgw_info']['apps'][$app[1]]['version']
|
||||
);
|
||||
}
|
||||
}
|
||||
@ -294,7 +298,8 @@
|
||||
'enabled' => True,
|
||||
'status' => $this->db->f('app_enabled'),
|
||||
'id' => intval($this->db->f('app_id')),
|
||||
'order' => intval($this->db->f('app_order'))
|
||||
'order' => intval($this->db->f('app_order')),
|
||||
'version' => $this->db->f('app_version')
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user