?
avatar brianteeman
brianteeman
4 Aug 2016

If you check the Advanced options for 90% of the admin modules you will see they have an option for cache that has just one setting - no cache.

That doesnt make any sense to me at all. If you cant change it then it doesnt need to be there.

Any reason why I cant just delete that from the xml in those modules

avatar brianteeman brianteeman - open - 4 Aug 2016
avatar mbabker
mbabker - comment - 4 Aug 2016

You'd need to dig into JModuleHelper and make sure whatever uses that parameter doesn't default to on to do it safely I guess.

avatar brianteeman
brianteeman - comment - 4 Aug 2016

OK will do - failing that it could just be a hidden field - which seems
perfectly safe then

On 4 August 2016 at 16:26, Michael Babker notifications@github.com wrote:

You'd need to dig into JModuleHelper and make sure whatever uses that
parameter doesn't default to on to do it safely I guess.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#11449 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABPH8Qag2QyY8ONn3bvMntophPm0qFZGks5qcgSagaJpZM4Jc0F-
.

Brian Teeman
Co-founder Joomla! and OpenSourceMatters Inc.
http://brian.teeman.net/

avatar mbabker
mbabker - comment - 4 Aug 2016

Looks about right.

avatar brianteeman
brianteeman - comment - 4 Aug 2016

And again this bit
https://github.com/joomla/joomla-cms/blob/staging/libraries/cms/module/helper.php#L474

Which if I am reading it all correctly means I can safely delete the param from the xml and there is no need to worry about existing sites that have it set

avatar mbabker
mbabker - comment - 4 Aug 2016

Yep, should be no issues.

avatar brianteeman
brianteeman - comment - 4 Aug 2016

Thank you

avatar brianteeman brianteeman - change - 4 Aug 2016
Status New Closed
Closed_Date 0000-00-00 00:00:00 2016-08-04 15:39:30
Closed_By brianteeman
avatar brianteeman brianteeman - close - 4 Aug 2016
avatar brianteeman
brianteeman - comment - 4 Aug 2016

See #11450

Add a Comment

Login with GitHub to post a comment