// Remove $display_multishop_toolbar and add instead $multishop_context to manage shop context per admin controller
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@13530 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -36,7 +36,6 @@ class AdminStockManagementControllerCore extends AdminController
|
||||
$this->table = 'product';
|
||||
$this->className = 'Product';
|
||||
$this->lang = true;
|
||||
$this->display_multishop_toolbar = false;
|
||||
|
||||
$this->fieldsDisplay = array(
|
||||
'reference' => array(
|
||||
@@ -72,6 +71,8 @@ class AdminStockManagementControllerCore extends AdminController
|
||||
|
||||
parent::__construct();
|
||||
|
||||
$this->multishop_context = null;
|
||||
|
||||
// overrides confirmation messages specifically for this controller
|
||||
$this->_conf = array(
|
||||
1 => $this->l('The product was successfully added to stock'),
|
||||
|
||||
Reference in New Issue
Block a user