[4.3] Replace Factory::getUser() by $this->getCurrentUser() in components models#38090
Conversation
|
I'm wondering if we should fallback here to |
|
|
|
Do you want to do it here or a separate one? |
|
Better in the separate PR, please |
|
Here we go #38106. |
|
This pull requests has been automatically converted to the PSR-12 coding standard. |
|
Would be good to postpone this for 4.3. What do you think @joomdonation? |
|
@laoneo Yes, no rush. Let's give maintainers more time to review to see if there is any flow with this change. |
|
I have tested this item ✅ successfully on c19a04a Drone is erroring out but looks like a timeout issue so I do not believe this related. This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/38090. |
|
I have tested this item ✅ successfully on c19a04a This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/38090. |
|
RTC This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/38090. |
|
Thanks! |
Pull Request for Issue # .
Summary of Changes
With #37498 being merged into 4.2, we can now replace deprecated method
Factory::getUser()in components model classes with new method$this->getCurrentUser()Testing Instructions
Actual result BEFORE applying this Pull Request
Works, but uses deprecated methods.
Expected result AFTER applying this Pull Request
Works, without using deprecated methods.