User tests: Successful: Unsuccessful:
Removes the deprecated static singleton accessors that the dependency injection container replaced in 4.x: Pathway::getInstance(), Session::getInstance(), Cache::getInstance() and CacheController::getInstance(), together with CacheController::addIncludePath() and the JCacheController* include-path lookup that only served it. The static $instances cache on Pathway had no other user and goes with it.
Nothing in core calls any of these. Router::getInstance() is deliberately left out: it is still called by the deprecated getRouter() methods of the application classes and belongs to their removal.
grep -rn "Pathway::getInstance\|Session::getInstance\|Cache::getInstance\|CacheController::getInstance\|CacheController::addIncludePath" libraries administrator components plugins modules api finds nothing.Everything works; the five static methods exist but nothing in core calls them.
Everything works the same. The five methods are gone.
| Status | New | ⇒ | Pending |
| Category | ⇒ | Libraries |