[BUGFIX] Replace debug with call to deprecationLog
authorTolleiv Nietsch <info@tolleiv.de>
Mon, 10 Oct 2011 01:03:08 +0000 (03:03 +0200)
committerXavier Perseguers <xavier@typo3.org>
Tue, 11 Oct 2011 07:32:35 +0000 (09:32 +0200)
Commit 0eb4686afb2ed871adf3376ad12cb069d4a3f88d wrongly introduced
a debug() statement instead of a call to the deprecationLog()
method.

Change-Id: I996203d09e9557cfb301d079bbb026a32626c0d5
Resolves: #30759
Branches: 4.4, 4.5, 4.6
Reviewed-on: http://review.typo3.org/5696
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
t3lib/extjs/class.t3lib_extjs_extdirectrouter.php

index 30664dd..6dae43b 100644 (file)
@@ -168,9 +168,9 @@ class t3lib_extjs_ExtDirectRouter {
                        }
 
                        $callbackClass = $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ExtDirect'][$endpointName];
-                       debug('ExtDirect (Namespace: ' . $endpointName .
+                       t3lib_div::deprecationLog('ExtDirect (Namespace: ' . $endpointName .
                                '): Registration code changed. Use the API method t3lib_extMgm::registerExtDirectComponent(). ' .
-                               'More Information: http://wiki.typo3.org/ExtDirect' .
+                               'More Information: http://wiki.typo3.org/ExtDirect — ' .
                                'Will be removed in 4.7.'
                        );
                }