//remove unused code

This commit is contained in:
vAugagneur
2012-07-25 07:09:36 +00:00
parent 644a8fdcaa
commit f4c8183336
-1
View File
@@ -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();