Update cron when removing a plugin

To prevent any .cron files previously added from continuing to be executed
This commit is contained in:
Squidly271
2018-04-08 14:02:14 -04:00
committed by GitHub
parent 035086229e
commit b6cab93bd1
@@ -550,6 +550,7 @@ if ($method == "remove") {
// remove the plugin file
move($installed_plugin_file, "/boot/config/plugins-removed");
echo "plugin: removed\n";
exec("/usr/local/sbin/update_cron");
exit(0);
}