//remove unused code

This commit is contained in:
vAugagneur committed 2012-07-25 07:09:36 +00:00
1 parent 727f9c6b1e
commit 026a1e5ec9
1 file changed
-1
-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();