aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2013-12-29 13:37:54 +0000
committerrvelices <rv-github@modusoptimus.com>2013-12-29 13:37:54 +0000
commit30a7a975f9a776c35157c66dcfa0ed459005c540 (patch)
tree6f1ef56a9d3a0db337b0ac4f87c5d5df095a640e
parent351385bdb7ed9b4cc6f20a1e4448b8cba3fdbc5c (diff)
fix deactivate
git-svn-id: http://piwigo.org/svn/trunk@26329 68402e56-0260-453c-a942-63ccdbb3a9ee
-rw-r--r--admin/include/plugins.class.php4
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()