Skip to content

Simplify code since every Joomla app has a get method#15

Merged
rdeutz merged 1 commit intordeutz:cleaup_isAdmin_usefrom
richard67:staging-rdeutz-cleaup-isAdmin-use-mod-1
Feb 24, 2021
Merged

Simplify code since every Joomla app has a get method#15
rdeutz merged 1 commit intordeutz:cleaup_isAdmin_usefrom
richard67:staging-rdeutz-cleaup-isAdmin-use-mod-1

Conversation

@richard67
Copy link
Copy Markdown

Pull Request for joomla#32356 .

Summary of Changes

See title.

I could not provide this change with the review function in that PR for the CMS because the change goes too much down below the changed code, so I could not select the code to be changed for a suggestion on GitHub.

Discussion see review comment joomla#32356 (comment) and below.

@rdeutz rdeutz merged commit 9b6eabc into rdeutz:cleaup_isAdmin_use Feb 24, 2021
@richard67 richard67 deleted the staging-rdeutz-cleaup-isAdmin-use-mod-1 branch February 24, 2021 18:23
rdeutz pushed a commit that referenced this pull request Apr 13, 2022
* Add some events when fetching media data

* Use dispatcher to trigger event

* Use an event instance

* Class per event (#15)

* Argument validations and getter (#16)

* Class per event

* Argument validations

* global

* Use result from events

* Copy year

* Use internal variable

* void

* adapt model

* Validate events (#17)

* Revert commit ec8b4c8 ccd02cb and 9a2a119

* Validate and immutable events

* Update administrator/components/com_media/src/Event/FetchMediaFileEvent.php

Co-authored-by: Harald Leithner <leithner@itronic.at>

* Update administrator/components/com_media/src/Event/FetchMediaFilesEvent.php

Co-authored-by: Harald Leithner <leithner@itronic.at>

* Rename the events

* Cleanup events

Co-authored-by: Fedir Zinchuk <getthesite@gmail.com>
Co-authored-by: Harald Leithner <leithner@itronic.at>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants