The call()
method inside the Cache Callback Contrroller is marked as deprecated:
https://github.com/joomla/joomla-cms/blob/staging/libraries/src/Cache/Controller/CallbackController.php#L37
However appear to have been removed in Joomla 4
Therefore using Factory::getCache()->call([xxx, xxx]);
will throw an error
Labels |
Added:
?
|
Title |
|
Labels |
Added:
J4 Issue
|
Title |
|
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2019-05-19 11:35:07 |
Closed_By | ⇒ | franz-wohlkoenig |
Does the deprecated notice not mean it will be deprecated in 4.0?
The generally accepted practice for a @deprecated
annotation is the version will be the first version the element may be removed in. So something @deprecated 4.0
means it may be removed in 4.0. It doesn't mean "as of 4.0 this element is deprecated and will be removed at the next major version".
Ah fair enough. Thanks for clarifying
Yes, it's marked to be removed in 4.0 and was removed in 4.0.
See #24703.