// Remove $display_multishop_toolbar and add instead $multishop_context to manage shop context per admin controller
This commit is contained in:
@@ -28,8 +28,6 @@
|
||||
|
||||
class AdminShopControllerCore extends AdminController
|
||||
{
|
||||
public $display_multishop_toolbar = false;
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
$this->context = Context::getContext();
|
||||
@@ -92,7 +90,10 @@ class AdminShopControllerCore extends AdminController
|
||||
'submit' => array()
|
||||
)
|
||||
);
|
||||
|
||||
parent::__construct();
|
||||
|
||||
$this->multishop_context ^= Shop::CONTEXT_SHOP;
|
||||
}
|
||||
|
||||
public function initToolbar()
|
||||
|
||||
Reference in New Issue
Block a user