[+] BO: Allow override loadUpgradeVersionList()
This commit is contained in:
1 parent
6080795f9e
commit
4b0ed7c21e
1 file changed
+1
-1
@@ -396,7 +396,7 @@ abstract class ModuleCore
|
|||||||
self::$modules_cache[$module->name]['upgrade']['upgraded_from'] = $module->database_version;
|
self::$modules_cache[$module->name]['upgrade']['upgraded_from'] = $module->database_version;
|
||||||
// Check the version of the module with the registered one and look if any upgrade file exist
|
// Check the version of the module with the registered one and look if any upgrade file exist
|
||||||
return Tools::version_compare($module->version, $module->database_version, '>')
|
return Tools::version_compare($module->version, $module->database_version, '>')
|
||||||
&& Module::loadUpgradeVersionList($module->name, $module->version, $module->database_version);
|
&& $module->loadUpgradeVersionList($module->name, $module->version, $module->database_version);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in new issue
Block a user