From 30a7a975f9a776c35157c66dcfa0ed459005c540 Mon Sep 17 00:00:00 2001 From: rvelices Date: Sun, 29 Dec 2013 13:37:54 +0000 Subject: fix deactivate git-svn-id: http://piwigo.org/svn/trunk@26329 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/include/plugins.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'admin') 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() -- cgit v1.2.3