[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:27:25 +0000 (09:27 +0200)
Commit 0eb4686afb2ed871adf3376ad12cb069d4a3f88d wrongly introduced
a debug() statement instead of a call to the deprecationLog()
method.

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

index 1077f2b..d478516 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.'
                        );
                }