Fixed bug #9731: Wrong XCLASS definition in t3lib/t3lib_rteapi.php
authorChristian Kuhn <lolli@schwarzbu.ch>
Fri, 28 May 2010 11:50:52 +0000 (11:50 +0000)
committerChristian Kuhn <lolli@schwarzbu.ch>
Fri, 28 May 2010 11:50:52 +0000 (11:50 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@7712 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
t3lib/class.t3lib_rteapi.php

index a197e57..32fb4fa 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -8,6 +8,7 @@
 
 2010-05-28  Christian Kuhn  <lolli@schwarzbu.ch>
 
+       * Fixed bug #9731: Wrong XCLASS definition in t3lib/t3lib_rteapi.php (Thanks to Marcus Schwemer)
        * Fixed bug #7015: t3lib_DB displays wrong SQL in error case (Thanks to Steffen Ritter)
 
 2010-05-28  Benjamin Mack  <benni@typo3.org>
index 5e8a2dc..df07222 100644 (file)
@@ -201,8 +201,16 @@ class t3lib_rteapi {
        }
 }
 
+/**
+ * @deprecated since TYPO3 4.4: Use XCLASS t3lib/class.t3lib_rteapi.php instead. Will be removed in TYPO3 4.6.
+ */
 if (defined('TYPO3_MODE') && $TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['ext/rte/class.tx_rte_base.php'])  {
+       t3lib_div::deprecationLog('XCLASS "ext/rte/class.tx_rte_base.php" is deprecated since TYPO3 4.4 - use "t3lib/class.t3lib_rteapi.php" instead.');
        include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['ext/rte/class.tx_rte_base.php']);
 }
 
+if (defined('TYPO3_MODE') && $TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['t3lib/class.t3lib_rteapi.php']) {
+       include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['t3lib/class.t3lib_rteapi.php']);
+}
+
 ?>
\ No newline at end of file