Closed frumbert closed 2 years ago
Thank you @frumbert , I have already changed the min. version requirement to 3.9 and reopened the older version. In there is someone who is running moodle 3.7. and cannot upgrade and installated the new plugin version that does not run on 3.7. might fix version number so that they can downgrade back. Hope there aren't such cases thanks to your fast warning!
Best, Flotter
@Flottertotte
Would like for us to have a look, and backport the latest changes to Moodle 3.7 and 3.8?
Hi @andrewscaya, that would be awesome, of course. I would then pack new version based on that work and publish update the old package on moodle.org
@andrewscaya I have created a 3.7 branch.
Hi @Flottertotte --
OK. I'll have the PR ready before the end of the day. 👍
@Flottertotte
I have a question for you: do you prefer maintaining two separate branches, or do you want me to simply add a shim in the master branch that will make the main release compatible with 3.X?
@andrewscaya If feel it is easier to handle with 2 separate branches.
@Flottertotte --
Since the 3.7 branch was not available in the public repository, I issued the PR #24 against the master branch. Thus, you can still choose to either have one single version that is compatible (fully tested) with Moodle 3.6+/PHP 7.1+ (simply merge on master), or create a separate branch with this added code/shim (another branch).
If you decide to create a separate branch for 3.6+, I would recommend that you update the main version.php file on the master branch to require Moodle 3.9+ (2020061500).
If you have any questions or comments, please let me know, ok?
TTYL! :)
Yours,
Andrew
@andrewscaya Thank you! I will look into it asap and follow up.
@andrewscaya Thanks again! I just merged to master and published a new release to moodle.org Best, Flotter
According to the page https://moodle.org/plugins/local_course_templates the plugin supports 3.7 and 3.8; however, it relies on the function _require_allcapabilities(...) which was not implemented into accesslib.php until 3.9. Not hard to patch back in, but out of the box it doesn't work < 3.9