23 lines
421 B
PHP
23 lines
421 B
PHP
<?php
|
|
|
|
if (!defined('_PS_VERSION_')) {
|
|
exit;
|
|
}
|
|
|
|
require_once (dirname(__FILE__) . '/../x13allegro.php');
|
|
|
|
/**
|
|
* @param $module x13allegro
|
|
* @return bool
|
|
*/
|
|
function upgrade_module_6_0_8($module)
|
|
{
|
|
if (XAllegroCategory::exists()) {
|
|
XAllegroConfiguration::updateValue('PARAMETERS_MIGRATED', 0);
|
|
} else {
|
|
XAllegroConfiguration::updateValue('PARAMETERS_MIGRATED', 1);
|
|
}
|
|
|
|
return true;
|
|
}
|