mirror of
https://github.com/e107inc/e107.git
synced 2025-08-01 20:30:39 +02:00
Issue #182 - have added debug info. Unable to reproduce this issue.
This commit is contained in:
@@ -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);
|
$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']]);
|
unset($p_installed[$plug['plugin_path']]);
|
||||||
|
|
||||||
e107::getConfig('core')->setPref('plug_installed', $p_installed);
|
e107::getConfig('core')->setPref('plug_installed', $p_installed);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
e107::getMessage()->addDebug("updated Installed plugins pref: ".print_a($p_installed,true));
|
||||||
|
|
||||||
|
|
||||||
$this->rebuildUrlConfig();
|
$this->rebuildUrlConfig();
|
||||||
|
|
||||||
e107::getConfig('core')->save();
|
e107::getConfig('core')->save();
|
||||||
|
Reference in New Issue
Block a user