first commit

This commit is contained in:
2024-11-11 18:46:54 +01:00
commit a630d17338
25634 changed files with 4923715 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
<?php
if (!defined('_PS_VERSION_')) {
exit;
}
require_once (dirname(__FILE__) . '/../x13allegro.php');
/**
* @return bool
*/
function upgrade_module_6_7_0()
{
XAllegroAutoLoader::getInstance()
->generateClassIndex()
->autoload();
foreach (XAllegroAccount::getAll() as $account) {
$accountConfiguration = new XAllegroConfigurationAccount((int) $account->id);
if (!XAllegroConfiguration::get('AUCTION_CHECK_BADGES')) {
$accountConfiguration->updateValue('AUCTION_CHECK_BADGES', XAllegroConfigurationAccount::GLOBAL_OPTION);
}
}
return true;
}