1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-03 13:17:24 +02:00

Plugin upgrade SQL execution logic mismatch

This commit is contained in:
secretr
2010-06-23 10:21:21 +00:00
parent 1adf1d6179
commit fe0926b9cf
2 changed files with 766 additions and 804 deletions

View File

@@ -478,9 +478,11 @@ class pluginManager{
if (is_array($upgrade_alter_tables)) if (is_array($upgrade_alter_tables))
{ {
$result = $plugin->manage_tables('upgrade', $upgrade_alter_tables); $result = $plugin->manage_tables('upgrade', $upgrade_alter_tables);
if (!$result) if (true !== $result)
{ {
$text .= EPL_ADLAN_9.'<br />'; //$text .= EPL_ADLAN_9.'<br />';
$emessage->addWarning(EPL_ADLAN_9)
->addDebug($result);
} }
else else
{ {

File diff suppressed because it is too large Load Diff