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
Optimizing mod_login helper #6034
Conversation
Fatal error: Class 'ModLoginHelper' not found in /home//domains//public_html/modules/mod_login/mod_login.php on line 17 Mhh other patches same issues, maybe my test site is broken. |
@810 what were you doing to get that error. I couldnt replicate it myself This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/6034. |
@brianteeman i applied patch with patchtester, on a ssl website. @test |
Strange as I cannot get that error message (perhaps because I am not on an On 9 February 2015 at 23:37, Jelle Kok notifications@github.com wrote:
Brian Teeman |
Indeed, nothing changes but the performance does not get much better either |
@test |
It is 50 lines of code less. Yes, the performance improvement is negligible. |
Works normal :-) This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/6034. |
@test works for me. Thanks! |
RTC thanks for testing! This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/6034. |
Merged. Thanks! |
We already have loaded all menu items. We don't need to look up an existing menu item again. If JMenu does not return this item, it either does not exist or it is unpublished or not accessible for the user. The router also makes sure that all parameters of a menu item are correctly stripped. There is no need to differentiate between SEF and non-SEF URLs.
How to test