diff options
-rw-r--r-- | admin/include/plugins.class.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/admin/include/plugins.class.php b/admin/include/plugins.class.php index e5e6d47f4..c6efe3480 100644 --- a/admin/include/plugins.class.php +++ b/admin/include/plugins.class.php @@ -43,9 +43,9 @@ class DummyPlugin_maintain extends PluginMaintain } function deactivate() { - if (is_callable('plugin_install')) + if (is_callable('plugin_deactivate')) { - return plugin_install($this->plugin_id); + return plugin_deactivate($this->plugin_id); } } function uninstall() |