phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] [21031] Removing not used vars, avoid a potential not


From: Caeies
Subject: [Phpgroupware-cvs] [21031] Removing not used vars, avoid a potential notice in setup
Date: Wed, 10 Feb 2010 14:11:24 +0000

Revision: 21031
          
http://svn.sv.gnu.org/viewvc/?view=rev&root=phpgroupware&revision=21031
Author:   Caeies
Date:     2010-02-10 14:11:24 +0000 (Wed, 10 Feb 2010)
Log Message:
-----------
Removing not used vars, avoid a potential notice in setup

Modified Paths:
--------------
    modules/phpgwapi/trunk/inc/class.setup_process.inc.php

Modified: modules/phpgwapi/trunk/inc/class.setup_process.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.setup_process.inc.php      2010-02-10 
14:10:59 UTC (rev 21030)
+++ modules/phpgwapi/trunk/inc/class.setup_process.inc.php      2010-02-10 
14:11:24 UTC (rev 21031)
@@ -614,7 +614,7 @@
                                                || $setup_info[$key]['status'] 
== '' ) ) // TODO this is not getting set for api upgrade, sometimes ???
                                {
                                        $appname    = $setup_info[$key]['name'];
-                                       $apptitle   = 
isset($setup_info[$key]['title']) ? $setup_info[$key]['title'] : '';
+                                       //$apptitle   = 
isset($setup_info[$key]['title']) ? $setup_info[$key]['title'] : '';
                                        $currentver = 
$setup_info[$key]['currentver'];
                                        $targetver  = 
$setup_info[$key]['version'];     // The version we need to match when done
                                        $appdir     = PHPGW_SERVER_ROOT . 
"/{$appname}/setup/";
@@ -660,7 +660,7 @@
                                                if ( isset($test) && 
is_array($test) && count($test) )
                                                {
                                                        /* $test array comes 
from update file.  It is a list of available upgrade functions */
-                                                       foreach ( $test as $x 
=> $value )
+                                                       foreach ( $test as 
$value )
                                                        {
                                                                $currentver = 
isset($setup_info[$key]['currentver']) ? $setup_info[$key]['currentver'] : '';
 
@@ -874,6 +874,7 @@
                        }
 
                        $GLOBALS['phpgw_setup']->oProc->m_oTranslator->sCol = 
array();
+                       $sColumns = '';
                        
$GLOBALS['phpgw_setup']->oProc->m_oTranslator->_GetColumns($GLOBALS['phpgw_setup']->oProc,
 $tablename, $sColumns);
 
                        $arr = '';





reply via email to

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