checkStoreApi example

use ShopwarePlugins\SwagUpdate\Components\Steps\FinishResult;

class PluginManager extends Shopware_Controllers_Backend_ExtJs
{
    public const FALLBACK_LOCALE = 'en_GB';

    /** * @return void */
    public function preDispatch()
    {
        if (strtolower($this->Request()->getActionName()) === 'index' && $this->checkStoreApi()) {
            $this->getCategoryService()->synchronize();
        }
        parent::preDispatch();
    }

    /** * @return void */
    public function metaDownloadAction()
    {
        try {
            
Home | Imprint | This part of the site doesn't use cookies.