27 lines
604 B
PHP
27 lines
604 B
PHP
<?php
|
|
/**
|
|
* 2024 Anvanto
|
|
*
|
|
* NOTICE OF LICENSE
|
|
*
|
|
* This source file is subject to the Academic Free License (AFL 3.0)
|
|
*
|
|
* @author Anvanto <anvantoco@gmail.com>
|
|
* @copyright 2024 Anvanto
|
|
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
|
*/
|
|
|
|
if (!defined('_PS_VERSION_')) {
|
|
exit;
|
|
}
|
|
function upgrade_module_3_4_6($object)
|
|
{
|
|
$position = Tab::getIdFromClassName('AdminAnblogManagement');
|
|
$id_tab = Tab::getIdFromClassName('AdminAnblogAjax');
|
|
$tab = new Tab($id_tab);
|
|
$tab->id_parent = (int) $position;
|
|
$tab->save();
|
|
|
|
return true;
|
|
}
|