-
-
Notifications
You must be signed in to change notification settings - Fork 436
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
Removed unused variable #1355
Removed unused variable #1355
Conversation
could have unintended side effects on internal initialization and also about when the event "adminhtml_init_system_config" is called |
@Flyingmana you are right about the event About the init, seems safe to me. It is simple lazy-loading pattern, I don't see how it may behave differently when lazy-loaded from different model. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PayPal use the adminhtml_init_system_config
event with paypal/observer::loadCountryDependentSolutionsConfig
.
But I didn't see any emails added with Mage_Paypal
.
The only configuration about email that I found is: email_confirmation
, used in API request.
The base branch was changed.
I moved it to the 20.0 branch, because even if it looks ok, I want to not risk issues, and its not a bugfix, so not necessarily needed in the 1.9.4.x branch. |
removing this line i can't load email template from admin
|
I can replicate the error reported by @empiricompany in backend > System > Transactional Emails > Add New Template > select any template in the Template dropdown and then click button Load Template. No template is loaded, PHP logs the error
After restoring this line Mage::getSingleton('adminhtml/config')->getSections(); The template loaded successfully. It looks like we need to revert this merge. |
Description (*)
Just removed unused variable.
Related Pull Requests
Fixed Issues (if relevant)
Manual testing scenarios (*)
Questions or comments
Contribution checklist (*)