Added feature #13580: htmlArea RTE: Extjize the RTE
[Packages/TYPO3.CMS.git] / typo3 / sysext / rtehtmlarea / class.tx_rtehtmlareaapi.php
index 20c599f..790bd03 100644 (file)
@@ -30,8 +30,6 @@
  *
  */
 
-require_once(PATH_t3lib.'class.t3lib_div.php');
-
 abstract class tx_rtehtmlareaapi {
 
        protected $extensionKey;                                // The key of the extension that is extending htmlArea RTE
@@ -62,7 +60,7 @@ abstract class tx_rtehtmlareaapi {
        public function main($parentObject) {
                global $TYPO3_CONF_VARS, $LANG, $TSFE;
 
-               $this->htmlAreaRTE =& $parentObject;
+               $this->htmlAreaRTE = $parentObject;
                $this->rteExtensionKey =& $this->htmlAreaRTE->ID;
                $this->thisConfig =& $this->htmlAreaRTE->thisConfig;
                $this->toolbar =& $this->htmlAreaRTE->toolbar;
@@ -156,7 +154,7 @@ abstract class tx_rtehtmlareaapi {
        public function getPathToPluginDirectory() {
                return ($this->relativePathToPluginDirectory ? $this->htmlAreaRTE->httpTypo3Path . t3lib_extMgm::siteRelPath($this->extensionKey) . $this->relativePathToPluginDirectory : '');
        }
-       
+
        /**
         * Returns a boolean indicating whether the plugin adds buttons or not to the toolbar
         *