TEMPORARY (remove when solved): Disable output of deprecation messages until error...
authorMichael Stucki <michael.stucki@typo3.org>
Tue, 3 Mar 2009 14:37:44 +0000 (14:37 +0000)
committerMichael Stucki <michael.stucki@typo3.org>
Tue, 3 Mar 2009 14:37:44 +0000 (14:37 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@5114 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
t3lib/class.t3lib_div.php

index 4b3122a..aa9313c 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-03-03  Michael Stucki  <michael@typo3.org>
+
+       * TEMPORARY (remove when solved): Disable output of deprecation messages until error handling is implemented.
+
 2009-03-01  Benjamin Mack  <benni@typo3.org>
 
        * Fixed #9783: Updated prototype.js to the latest 1.6.0.3 release (thanks to Steffen Gebert)
index 8b08ec0..f647385 100755 (executable)
@@ -5252,11 +5252,14 @@ final class t3lib_div {
                }
                $errorMsg .= ' is deprecated (called from '.$trail[1]['file'] . '#' . $trail[1]['line'] . ', defined in ' . $function->getFileName() . '#' . $function->getStartLine() . ')';
 
+// michael@typo3.org: Temporary disabled until error handling is implemented (follows later this week...)
+/*
                if (defined('E_USER_DEPRECATED')) {
                        trigger_error($errorMsg, E_USER_DEPRECATED);    // PHP 5.3
                } else {
                        trigger_error($errorMsg, E_USER_NOTICE);        // PHP 5.2
                }
+*/
 
                // write a longer message to the deprecation log: <function> <annotion> - <trace> (<source>)
                $logMsg = $trail[1]['class'] . $trail[1]['type'] . $trail[1]['function'];