Follow-up to bug #12499: re-added the removed function call and moved the deprecation...
[Packages/TYPO3.CMS.git] / t3lib / class.t3lib_scbase.php
index f8b0a3c..8de6f99 100644 (file)
@@ -80,7 +80,6 @@
  *             require ($BACK_PATH.'init.php');
  *             require ($BACK_PATH.'template.php');
  *             $LANG->includeLLFile('EXT:prototype/locallang.php');
- *             require_once(PATH_t3lib.'class.t3lib_scbase.php');              // NOTICE THE INCLUSION OF t3lib_SCbase
  *             $BE_USER->modAccess($MCONF,1);
  *
  *                     // SC_mod_prototype EXTENDS THE CLASS t3lib_SCbase with a main() and printContent() function:
@@ -383,7 +382,7 @@ class t3lib_SCbase {
         * @return      void
         */
        function extObjContent() {
-               $this->extObj->pObj = &$this;
+               $this->extObj->pObj = $this;
 
                if (is_callable(array($this->extObj, 'main'))) {
                        $this->content .= $this->extObj->main();