General developer forum

uninstalling an auth plugin via code (not the administration panel)

 
6
uninstalling an auth plugin via code (not the administration panel)
 

Hi

I am aware one can uninstall an authentication plugin at:

administration > Site administration > Plugins > Authentication > Manage authentication


but is there a way to uninstall an auth plugin within a PHP file, for example under the local folder or in a certain block/mod folder?


I have moodle 3.1 installed

 
Average of ratings: -
Picture of Darko Miletić
Re: uninstalling an auth plugin via code (not the administration panel)
Core developersParticularly helpful Moodlers

Look at the code in /admin/plugins.php. You will find there what you need.

 
Average of ratings: -