Code cleanup (removed commented code, indentation)
authorKarsten Dambekalns <karsten.dambekalns@typo3.org>
Tue, 27 Jun 2006 20:20:39 +0000 (20:20 +0000)
committerKarsten Dambekalns <karsten.dambekalns@typo3.org>
Tue, 27 Jun 2006 20:20:39 +0000 (20:20 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@1530 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/install/mod/class.tx_install.php

index d764a3e..bc8525f 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,7 @@
         * typo3/init.php: Fixed bug #2871.
        * t3lib/class.t3lib_befunc.php: Fixed bug #3106, Documentation of function storeHash differs between class befunc and class page
        * class.em_xmlhandler.php: Small change to the inline code docs
+       * class.tx_install.php: Code cleanup, removed some commented code and cleaned indentation
 
 2006-06-22  Martin Kutschker  <martin.t.kutschker@blackbox.net>
 
index 60ab5d2..bac68af 100755 (executable)
@@ -3287,13 +3287,11 @@ From sub-directory:
                ",-1,1);
 
 
-               // Menu
-
+                       // Menu
                $this->messageFunc_nl2br = 0;
 
                $sql_files = array_merge(
                        t3lib_div::getFilesInDir(PATH_typo3conf,'sql',1,1),
-#                      t3lib_div::getFilesInDir(PATH_t3lib."stddb/",'sql',1,1),
                        array()
                );
 
@@ -3304,29 +3302,25 @@ From sub-directory:
                }
 
                $out='';
-
-
-                       $out.='<tr>
+               $out.='<tr>
                                <td nowrap="nowrap"><strong>'.$this->fw('Update required tables').'</strong></td>
                                <td'.($action_type=='cmpFile|CURRENT_TABLES'?' bgcolor="#D9D5C9"':'').'>'.$this->fw('<a href="'.htmlspecialchars($this->action.'&TYPO3_INSTALL[database_type]=cmpFile|CURRENT_TABLES#bottom').'"><strong>COMPARE</strong></a>').'</td>
                                <td>'.$this->fw('&nbsp;').'</td>
                                <td>'.$this->fw('&nbsp;').'</td>
                        </tr>';
 
-                       $out.='<tr>
+               $out.='<tr>
                                <td nowrap="nowrap"><strong>'.$this->fw('Dump static data').'</strong></td>
                                <td>'.$this->fw('&nbsp;').'</td>
                                <td nowrap="nowrap"'.($action_type=='import|CURRENT_STATIC'?' bgcolor="#D9D5C9"':'').'>'.$this->fw('<a href="'.htmlspecialchars($this->action.'&TYPO3_INSTALL[database_type]=import|CURRENT_STATIC#bottom').'"><strong>IMPORT</strong></a>').'</td>
                                <td>'.$this->fw('&nbsp;').'</td>
                        </tr>';
 
-                       $out.='<tr>
+               $out.='<tr>
                                <td colspan="4">&nbsp;</td>
                        </tr>';
 
 
-
-
                reset($sql_files);
                $directJump='';
                while(list($k,$file)=each($sql_files))  {
@@ -3336,10 +3330,6 @@ From sub-directory:
                        $lf=t3lib_div::testInt($k);
                        $fShortName = substr($file,strlen(PATH_site));
 
-                       /*
-                       $spec1 = (!count($whichTables) && $fShortName==TYPO3_mainDir.'t3lib/install/tables_'.str_replace('.','',$GLOBALS['TYPO_VERSION']).".sql" ? " <font color=#000066>(1)</span>" : "");
-                       $spec2 = (count($whichTables) && !$static_template_count && $fShortName==TYPO3_mainDir.'t3lib/install/static_template_'.str_replace('.','',$GLOBALS['TYPO_VERSION'])."+adt.sql" ? " <font color=#000066>(2)</span>" : "");
-                       */
                        $spec1 = $spec2 = '';
 
                        $out.='<tr>
@@ -3391,8 +3381,8 @@ From sub-directory:
                }
 
 
-       // Install user
-       // clear uc
+                       // Install user
+                       // clear uc
                if ($action_type)       {
                        switch($actionParts[0]) {
                                case 'cmpFile':
@@ -5065,4 +5055,4 @@ a:hover {color: #006; text-decoration:underline:}
 if (defined('TYPO3_MODE') && $TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['ext/install/mod/class.tx_install.php'])   {
        include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['ext/install/mod/class.tx_install.php']);
 }
-?>
\ No newline at end of file
+?>