-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[5.1] Deprecate app/db properties in ActionLogPlugin #42090
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[5.1] Deprecate app/db properties in ActionLogPlugin #42090
Conversation
|
If you do it in 5.0,then the removal must be 7.0. |
|
So the code to set the properties (in CMSPlugin) is not removed before 7.0? |
administrator/components/com_actionlogs/src/Plugin/ActionLogPlugin.php
Outdated
Show resolved
Hide resolved
yes next+1 major version |
|
also can you please create a deprecation entry in https://manual.joomla.org/migrations/50-51/new-deprecations |
Done. joomla/Manual#210 |
If we will do that, then we still can copy the code to this class to support the properties till 7.0. But I doubt that we go to remove the code in CMSPlugin in 7.0. |
|
@laoneo there is no reason to not merge this right? |
administrator/components/com_actionlogs/src/Plugin/ActionLogPlugin.php
Outdated
Show resolved
Hide resolved
…ugin.php Co-authored-by: Allon Moritz <[email protected]>
|
I have tested this item ✅ successfully on 4fbb778 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/42090. |
|
I have tested this item ✅ successfully on 4fbb778 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/42090. |
|
Thank you @heelc29 |
Add deprecation note for joomla/joomla-cms#42090
Summary of Changes
deprecate
$appand$dbproperty in ActionLogPlugin and their possible use replacedI'm not sure about the horizon (J6.0 or J7.0) of the removal of the properties
Testing Instructions
check action logs are still working
Actual result BEFORE applying this Pull Request
deprecation messages are logged
joomla-cms/libraries/src/Plugin/CMSPlugin.php
Line 138 in bd79fd3
joomla-cms/libraries/src/Plugin/CMSPlugin.php
Line 148 in bd79fd3
Expected result AFTER applying this Pull Request
deprecation messages are still logged, but properties are no longer used and now themselves deprecated
Link to documentations
Please select:
Documentation link for docs.joomla.org:
No documentation changes for docs.joomla.org needed
Pull Request link for manual.joomla.org: Add deprecation note for joomla/joomla-cms#42090 Manual#210