Skip to content
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

Improve observer list accuracy. #573

Merged
merged 1 commit into from
Jun 1, 2015

Conversation

pocallaghan
Copy link
Contributor

If the class node isn't set in the configuration for an observer,
Magento will also check for the model node. Added support for this to
the list command.

If the class node isn't set in the configuration for an observer,
Magento will also check for the model node. Added support for this to
the list command.
@tkn98
Copy link
Collaborator

tkn98 commented Jun 1, 2015

Thanks for reporting and the PR.

Just a little question: What happens if none of the two are set? Are those required or optional?

For the patch itself, there is a little spacing issue and you could move the logic to create that string into a private function of it's own with two parameters: $observer and $type.

cmuench added a commit that referenced this pull request Jun 1, 2015
@cmuench cmuench merged commit dbb0312 into netz98:develop Jun 1, 2015
@cmuench
Copy link
Member

cmuench commented Jun 1, 2015

Thanks

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.

3 participants