Closed ScottVerbeek closed 3 years ago
This pull request is an update to https://github.com/catalyst/moodle-tool_lockstats/pull/104/
Check this https://github.com/ScottVerbeek/moodle-tool_lockstats/actions for tests
The last commit has I've removed a function that has been returning false since MOODLE_27 https://github.com/moodle/moodle/blob/MOODLE_27_STABLE/lib/classes/lock/file_lock_factory.php#L109-L115
…due to phpunit upgrade. Added an if statement to check if new method exists to ensure backward compatibility