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_process.inc.php,1.8.2.1,1.


From: Mark A Peters <address@hidden>
Subject: [Phpgroupware-cvs] CVS: setup/inc class.setup_process.inc.php,1.8.2.1,1.8.2.2
Date: Wed, 15 May 2002 13:24:24 -0400

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

Modified Files:
      Tag: Version-0_9_14-branch
        class.setup_process.inc.php 
Log Message:
Added a little more debugging.

Index: class.setup_process.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/setup/inc/Attic/class.setup_process.inc.php,v
retrieving revision 1.8.2.1
retrieving revision 1.8.2.2
diff -C2 -r1.8.2.1 -r1.8.2.2
*** class.setup_process.inc.php 15 Jan 2002 01:50:32 -0000      1.8.2.1
--- class.setup_process.inc.php 15 May 2002 17:24:21 -0000      1.8.2.2
***************
*** 521,525 ****
  
                                /* if upgrade required, or if we are running 
again after an upgrade or dependency failure */
!                               if ($DEBUG) { echo '<br>process_upgrade(): 
Incoming : appname: '.$setup_info[$key]['name'] . ' status: ' . 
$setup_info[$key]['status']; }
                                if ($setup_info[$key]['status'] == 'U' ||
                                        $setup_info[$key]['status'] == 'D' ||
--- 521,531 ----
  
                                /* if upgrade required, or if we are running 
again after an upgrade or dependency failure */
!                               if ($DEBUG)
!                               {
!                                       echo '<br>process_upgrade(): Incoming : 
appname: "'.$setup_info[$key]['name'] . '"<br>' . "\n"
!                                               . '                             
     status: "' . $setup_info[$key]['status'] . '"<br>' . "\n"
!                                               . '                             
     currentver: "' . $setup_info[$key]['currentver'] . '"<br>' . "\n"
!                                               . '                             
     targetver: "' . $setup_info[$key]['version'] . '"<br>' . "\n";
!                               }
                                if ($setup_info[$key]['status'] == 'U' ||
                                        $setup_info[$key]['status'] == 'D' ||
***************
*** 567,571 ****
                                                */
                                        }
!                                       if (file_exists($appdir . 
'tables_update.inc.php') && address@hidden>updateincluded[$appname])
                                        {
                                                include ($appdir . 
'tables_update.inc.php');
--- 573,577 ----
                                                */
                                        }
!                                       if (file_exists($appdir . 
'tables_update.inc.php') && ((@isset($this->updateincluded[$appname]) && 
address@hidden>updateincluded[$appname]) || 
address@hidden($this->updateincluded[$appname])))
                                        {
                                                include ($appdir . 
'tables_update.inc.php');
***************
*** 574,577 ****
--- 580,587 ----
                                                /* $test array comes from 
update file.  It is a list of available upgrade functions */
                                                @reset($test);
+                                               if ($DEBUG)
+                                               {
+                                                       echo '<br>How many 
updates to perform: '.count($test);
+                                               }
                                                while (list($x,$value) = 
@each($test))
                                                {




reply via email to

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