R31967 - /trunk/setup/inc/class.setup_process.inc.php

Author: ralfbecker
New Revision: 31967

URL: http://www.egroupware.org/viewvc/egroupware?rev=31967&view=rev
Log:
check if app is either installed or supports the used database (before installed, but not supported apps where not updated)

Modified:
trunk/setup/inc/class.setup_process.inc.php

Modified: trunk/setup/inc/class.setup_process.inc.php
URL: http://www.egroupware.org/viewvc/egroupware/trunk/setup/inc/class.setup_process.inc.php?rev=31967&r1=31966&r2=31967&view=diff

— trunk/setup/inc/class.setup_process.inc.php (original)
+++ trunk/setup/inc/class.setup_process.inc.php Wed Sep 8 14:24:05 2010
@@ -109,7 +109,8 @@
/* stuff the rest of the apps, but only those with available upgrades */
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']) && $GLOBALS['egw_setup']->db->Type != $value['only_db']))
      		{
    

This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel® Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd


eGroupWare-cvs mailing list
eGroupWare-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-cvs