* Add TODO on top of a deprecated code line
authorMichael Stucki <michael.stucki@typo3.org>
Mon, 3 Mar 2008 17:00:00 +0000 (17:00 +0000)
committerMichael Stucki <michael.stucki@typo3.org>
Mon, 3 Mar 2008 17:00:00 +0000 (17:00 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@3371 709f56b5-9817-0410-a4d7-c38de5d9e867

t3lib/class.t3lib_div.php

index b39c540..13db029 100755 (executable)
@@ -2611,6 +2611,7 @@ class t3lib_div {
                                );
                        $content = @file_get_contents($url, false, $ctx);
                        if ($content === false && isset($report))       {
                                );
                        $content = @file_get_contents($url, false, $ctx);
                        if ($content === false && isset($report))       {
+                                       // TODO: Remove this once PHP 5.1 support is dropped completely
                                if (function_exists('error_get_last')) {
                                        $phpError = error_get_last();
                                        $report['error'] = $phpError['type'];
                                if (function_exists('error_get_last')) {
                                        $phpError = error_get_last();
                                        $report['error'] = $phpError['type'];