//remove unused code
This commit is contained in:
@@ -1999,7 +1999,6 @@ class AdminControllerCore extends Controller
|
|||||||
$filter_shop = '';
|
$filter_shop = '';
|
||||||
if ($this->multishop_context && Shop::isTableAssociated($this->table) && !empty($this->className))
|
if ($this->multishop_context && Shop::isTableAssociated($this->table) && !empty($this->className))
|
||||||
{
|
{
|
||||||
$def = ObjectModel::getDefinition($this->className);
|
|
||||||
if (Shop::getContext() != Shop::CONTEXT_ALL || Shop::isTableAssociated($this->table) || !$this->context->employee->isSuperAdmin())
|
if (Shop::getContext() != Shop::CONTEXT_ALL || Shop::isTableAssociated($this->table) || !$this->context->employee->isSuperAdmin())
|
||||||
{
|
{
|
||||||
$idenfier_shop = Shop::getContextListShopID();
|
$idenfier_shop = Shop::getContextListShopID();
|
||||||
|
|||||||
Reference in New Issue
Block a user