// Remove $display_multishop_toolbar and add instead $multishop_context to manage shop context per admin controller

This commit is contained in:
rMalie
2012-02-22 14:25:28 +00:00
parent 355175c2a7
commit cc72ac8a9b
15 changed files with 46 additions and 27 deletions
@@ -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'),