Follow-up to bug #13611: Replace calls to t3lib_div:: within t3lib_div to self::...
authorSteffen Kamper <info@sk-typo3.de>
Wed, 9 Jun 2010 17:24:05 +0000 (17:24 +0000)
committerSteffen Kamper <info@sk-typo3.de>
Wed, 9 Jun 2010 17:24:05 +0000 (17:24 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@7851 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
t3lib/class.t3lib_div.php

index a053913..bee1dc2 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,6 @@
 2010-06-08  Steffen Kamper  <info@sk-typo3.de>
 
+       * Follow-up to bug #13611: Replace calls to t3lib_div:: within t3lib_div to self:: du to performance reasons (Thanks to Senastian Michaelsen)
        * Fixed bug #14555: early thrown debug messages are not visible (BE only) (Thanks to Stefan Galinski)
        * Fixed bug #14628: Open t3lib_db for own instance
        * Follow-up to bug #8305: SQL debug output is not shown in the Backend
index be94943..913578f 100644 (file)
@@ -2075,7 +2075,7 @@ final class t3lib_div {
                                $differenceArray[$key] = $value;
                        } elseif (is_array($value)) {
                                if (is_array($array2[$key])) {
-                                       $differenceArray[$key] = t3lib_div::arrayDiffAssocRecursive($value, $array2[$key]);
+                                       $differenceArray[$key] = self::arrayDiffAssocRecursive($value, $array2[$key]);
                                }
                        }
                }
@@ -3024,9 +3024,9 @@ final class t3lib_div {
                                                unset($recursionResult);
                                                if ($file !== '.' && $file !== '..') {
                                                        if (@is_file($path . '/' . $file)) {
-                                                               $recursionResult = t3lib_div::fixPermissions($path . '/' . $file);
+                                                               $recursionResult = self::fixPermissions($path . '/' . $file);
                                                        } elseif (@is_dir($path . '/' . $file)) {
-                                                               $recursionResult = t3lib_div::fixPermissions($path . '/' . $file, TRUE);
+                                                               $recursionResult = self::fixPermissions($path . '/' . $file, TRUE);
                                                        }
                                                        if (isset($recursionResult) && !$recursionResult) {
                                                                $result = FALSE;