//remove unused code

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@16559 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
vAugagneur
2012-07-25 07:09:36 +00:00
parent a90af8cd44
commit 8b459e499e

View File

@@ -1999,7 +1999,6 @@ class AdminControllerCore extends Controller
$filter_shop = '';
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())
{
$idenfier_shop = Shop::getContextListShopID();