Issue Bug Closed

#24516Backwards compatibility in PHP_SCRIPT and accessing $this-> methods

Ernesto Baschny 01/11/11, 18:27 updated 03/29/11, 23:48

Description

Older sites might include PHP_SCRIPT cObject accessing cObject methods through $this->. Since the PHP_SCRIPT object was moved to its own class, the old methods will stop working (e.g. older “languageMenu.php” or stuff like http://www.sk-typo3.de/awstats-Zaehlen-von-Dateidownloads.55.0.html

Solution is to add a __call() catch-all to PHP_SCRIPT intercepting those calls and passing them to $this->cObj, while making a note of it in deprecation log.
(issue imported from #M16970)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.