23 lines
488 B
PHP
23 lines
488 B
PHP
<?php
|
|
|
|
namespace External\HannahBundle\Admin;
|
|
|
|
use External\HannahBundle\SAP\Util\SAPUtil;
|
|
use KupShop\KupShopBundle\Util\Compat\ServiceContainer;
|
|
|
|
require_once $cfg['Path']['shared_version'].'bundles/KupShop/StoresBundle/Admin/stores.php';
|
|
|
|
class Stores extends \Stores
|
|
{
|
|
public function handleUpdate()
|
|
{
|
|
$result = parent::handleUpdate();
|
|
|
|
ServiceContainer::getService(SAPUtil::class)->recalculateStores();
|
|
|
|
return $result;
|
|
}
|
|
}
|
|
|
|
return Stores::class;
|