phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] CVS: setup/inc class.setup_detection.inc.php,1.10,1.1


From: Miles Lott <address@hidden>
Subject: [Phpgroupware-cvs] CVS: setup/inc class.setup_detection.inc.php,1.10,1.11
Date: Sun, 03 Feb 2002 12:02:59 -0500

Update of /cvsroot/phpgroupware/setup/inc
In directory subversions:/tmp/cvs-serv1189/setup/inc

Modified Files:
        class.setup_detection.inc.php 
Log Message:
Add a check to setup to be able to exclude apps from the mass upgrade process.
WCM will be the first to use this, others may follow...



Index: class.setup_detection.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/setup/inc/class.setup_detection.inc.php,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -r1.10 -r1.11
*** class.setup_detection.inc.php       15 Jan 2002 01:46:27 -0000      1.10
--- class.setup_detection.inc.php       3 Feb 2002 17:02:56 -0000       1.11
***************
*** 189,192 ****
--- 189,209 ----
                }
  
+               /*
+                Called during the mass upgrade routine (Stage 1) to check for 
apps
+                that wish to be excluded from this process.
+               */
+               function upgrade_exclude($setup_info)
+               {
+                       @reset ($setup_info);
+                       while(list($key,$value) = @each($setup_info))
+                       {
+                               if(isset($value['no_mass_update']))
+                               {
+                                       unset($setup_info[$key]);
+                               }
+                       }
+                       return $setup_info;
+               }
+ 
                function check_header()
                {




reply via email to

[Prev in Thread] Current Thread [Next in Thread]