Disable Plugin Installation
A really simple way to disable the installation of a single plugin is to set the value:
$plugin->version = 0;
In the plugin’s version.php
file. For example the plugin might be failing etc.
If you want to disable plugin installations from within the site via the navigation:
Set the following flag in config.php
. This might be a good idea if you have non-technical users with Site administration access, otherwise there could be trouble!
$CFG->disableupdateautodeploy = true;
No Comments