unset($session->template
);
} } else { unset($session->template
);
} // Save upgrades
$this->
get(ShopRegistrationServiceInterface::
class)->
registerShop($shop);
if ($request->
isSecure()) { $template =
$this->
get(Enlight_Template_Manager::
class);
$template->
setCompileId($template->
getCompileId() . '_secure'
);
} } /**
* @deprecated - Will be private with Shopware 5.8
*
* @return Shop
*/
protected function getShopByRequest(Request
$request) { $repository =
$this->
get(ModelManager::
class)->
getRepository(Shop::
class);