1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-11 09:04:38 +02:00

Upgrade routine now separates non-core plugin sql changes into their own area.

This commit is contained in:
Cameron
2015-01-27 13:00:33 -08:00
parent 666ea246c2
commit a35f7ef171
3 changed files with 44 additions and 6 deletions

View File

@@ -216,6 +216,9 @@ class e107Update
function updatePlugin($path)
{
e107::getPlugin()->install_plugin_xml($path, 'upgrade');
e107::getMessage()->reset(E_MESSAGE_INFO);
e107::getMessage()->addSuccess(LAN_UPDATED." : ".$path);
}
@@ -1136,6 +1139,7 @@ function update_706_to_800($type='')
if($plugUpgradeReq = e107::getPlugin()->updateRequired())
{
$exclude = array_keys($plugUpgradeReq); // search xxxxx_setup.php and check for 'upgrade_required()' == true.
asort($exclude);
}
else
{