diff --git a/classes/shop/Shop.php b/classes/shop/Shop.php index a76905b27..6e6a3201d 100644 --- a/classes/shop/Shop.php +++ b/classes/shop/Shop.php @@ -891,4 +891,12 @@ class ShopCore extends ObjectModel $without[] = $shop; return $without; } + + /** + * @deprecated 1.5.0 + */ + public static function getCurrentShop() + { + return Context::getContext()->shop->getID(true); + } }