From 5b1c0ac36568cb791bed44b41c86ce30f5fb6132 Mon Sep 17 00:00:00 2001 From: Cameron Date: Sat, 27 Apr 2013 02:47:26 -0700 Subject: [PATCH] Issue #182 - have added debug info. Unable to reproduce this issue. --- e107_handlers/plugin_class.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/e107_handlers/plugin_class.php b/e107_handlers/plugin_class.php index 4fac39262..95e770ab3 100644 --- a/e107_handlers/plugin_class.php +++ b/e107_handlers/plugin_class.php @@ -1487,10 +1487,14 @@ class e107plugin { $sql->update('plugin', "plugin_installflag = 0, plugin_addons = '{$eplug_addons}', plugin_version = '{$plug_vars['@attributes']['version']}', plugin_category ='".$this->manage_category($plug_vars['category'])."' WHERE plugin_id = ".$id); unset($p_installed[$plug['plugin_path']]); + e107::getConfig('core')->setPref('plug_installed', $p_installed); } + e107::getMessage()->addDebug("updated Installed plugins pref: ".print_a($p_installed,true)); + + $this->rebuildUrlConfig(); e107::getConfig('core')->save();