mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 16:03:47 +01:00
check if app is either installed or supports the used database (before installed, but not supported apps where not updated)
This commit is contained in:
parent
dc88857d9e
commit
7706645423
@ -109,7 +109,8 @@ class setup_process
|
|||||||
/* stuff the rest of the apps, but only those with available upgrades */
|
/* stuff the rest of the apps, but only those with available upgrades */
|
||||||
foreach($setup_info as $key => $value)
|
foreach($setup_info as $key => $value)
|
||||||
{
|
{
|
||||||
if (isset($value['only_db']) && (
|
// check if app is either installed or supports the used database
|
||||||
|
if (!isset($value['currentver']) && isset($value['only_db']) && (
|
||||||
is_array($value['only_db']) && !in_array($GLOBALS['egw_setup']->db->Type,$value['only_db']) ||
|
is_array($value['only_db']) && !in_array($GLOBALS['egw_setup']->db->Type,$value['only_db']) ||
|
||||||
!is_array($value['only_db']) && $GLOBALS['egw_setup']->db->Type != $value['only_db']))
|
!is_array($value['only_db']) && $GLOBALS['egw_setup']->db->Type != $value['only_db']))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user