Closed danmarsden closed 6 years ago
I don't personally see this as a big issue.
$_SESSION
superglobal.As far as I understand it, the preferred way these days would be a properly defined MUC session cache maybe but the current code does not look necessarily wrong to me.
Yeah - not a big issue for a 3rd party plugin. Feel free to close as won't fix! :-)
Hi Dan,
I finally found the time to polish this plugin for plugin repo approval. Thanks for this hint.
While I would generally agree and think that this should better be a MUC session cache, this is the way the original developer built the plugin and I am happy that this is no show-stopper for approval.
Closing as won't fix ;)
Cheers, Alex
Typically it's considered bad practice to store plugin related stuff in the global $SESSION var - you might consider finding a different way to store this data: https://github.com/moodleuulm/moodle-local_bulkenrol/blob/master/index.php#L72
I don't think this will block approval in the plugins db but it's probably worth adjusting at some point.