FMCorz / mdk

Moodle Development Kit. A collection of tools meant to make developers' lives easier.
GNU General Public License v3.0
85 stars 47 forks source link

Invalidate config caches prior reading plugin versions #173

Closed mudrd8mz closed 5 years ago

mudrd8mz commented 5 years ago

I usually had to purge caches manually after switching branch to make mdk's version.php aware of the version number mismatch. Resetting the config cache at the beginning of the script should help to avoid this. The patch also makes use of the plugin manager's API to reset its own caches.

FMCorz commented 5 years ago

Thanks!