[!!!][TASK][CONF] Remove deprecated code for 4.7
authorMarkus Klein <klein.t3@mfc-linz.at>
Sun, 27 Nov 2011 17:39:50 +0000 (11:39 -0600)
committerMarkus Klein <klein.t3@mfc-linz.at>
Sun, 27 Nov 2011 17:39:50 +0000 (11:39 -0600)
Removes all deprecated code marked for deletion in 4.7.

Change-Id: I432e424a874d69474b65ecca885f749d63723ab7
Resolves: #32108
Releases: 4.7

typo3/sysext/dbal/class.tx_dbal_autoloader.php
typo3/sysext/dbal/mod1/index.php

index 52275c7..8c40f51 100644 (file)
@@ -149,10 +149,7 @@ class tx_dbal_autoloader {
                        $GLOBALS['TYPO3_LOADED_EXT']['_CACHEFILE'] = str_replace('temp_CACHED_FE', 'temp_CACHED', $cacheFilePrefix);
                        t3lib_extMgm::removeCacheFiles();
                } catch (Exception $e) {
-                       $header = 'Error';
-                       $message = $e->getMessage();
-                       t3lib_timeTrack::debug_typo3PrintError($header, $message, FALSE, t3lib_div::getIndpEnv('TYPO3_SITE_URL'));
-                       exit;
+                       throw new RuntimeException($e->getMessage(), 1322415256);
                }
        }
 
index 9948a9d..9e98f8d 100644 (file)
@@ -428,7 +428,7 @@ updateQryForm(\'' . $input['QUERY'] . '\');
                                }
 
                                // Printing direct joins:
-                               $outStr .= '<h4>Direct joins:</h4>' . t3lib_div::view_array($tableIndex);
+                               $outStr .= '<h4>Direct joins:</h4>' . t3lib_utility_Debug::viewArray($tableIndex);
 
 
                                // Printing total dependencies:
@@ -441,7 +441,7 @@ updateQryForm(\'' . $input['QUERY'] . '\');
                                                }
                                        }
                                }
-                               $outStr .= '<h4>Total dependencies:</h4>' . t3lib_div::view_array($tableIndex);
+                               $outStr .= '<h4>Total dependencies:</h4>' . t3lib_utility_Debug::viewArray($tableIndex);
 
                                // Printing data rows:
                                $outStr .= '
@@ -467,7 +467,7 @@ updateQryForm(\'' . $input['QUERY'] . '\');
                                        $tRows[] = '
                                                <tr>
                                                        <td>' . htmlspecialchars($row['exec_time']) . '</td>
-                                                       <td>' . t3lib_div::view_array(unserialize($row['serdata'])) . '</td>
+                                                       <td>' . t3lib_utility_Debug::viewArray(unserialize($row['serdata'])) . '</td>
                                                        <td>' . htmlspecialchars($row['script']) . '</td>
                                                        <td>' . htmlspecialchars($row['query']) . '</td>
                                                </tr>';
@@ -540,7 +540,7 @@ updateQryForm(\'' . $input['QUERY'] . '\');
                                                                <td>' . htmlspecialchars($row['exec_time']) . '</td>
                                                                <td>' . ($row['errorFlag'] ? 1 : 0) . '</td>
                                                                <td>' . htmlspecialchars($row['table_join']) . '</td>
-                                                               <td>' . t3lib_div::view_array(unserialize($row['serdata'])) . '</td>
+                                                               <td>' . t3lib_utility_Debug::viewArray(unserialize($row['serdata'])) . '</td>
                                                                <td>' . str_replace(array('\'\'', '""', 'IS NULL', 'IS NOT NULL'), array('<span style="background-color:#ff0000;color:#ffffff;padding:2px;font-weight:bold;">\'\'</span>', '<span style="background-color:#ff0000;color:#ffffff;padding:2px;font-weight:bold;">""</span>', '<span style="background-color:#00ff00;color:#ffffff;padding:2px;font-weight:bold;">IS NULL</span>', '<span style="background-color:#00ff00;color:#ffffff;padding:2px;font-weight:bold;">IS NOT NULL</span>'), htmlspecialchars($row['query'])) . '</td>
                                                        </tr>';
                                        }