// Fix deprecated method Shop::getCurrentShop() #PSFV-279

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11878 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
rMalie
2011-12-29 08:49:09 +00:00
parent c2677309fc
commit b335cb196f
+8
View File
@@ -891,4 +891,12 @@ class ShopCore extends ObjectModel
$without[] = $shop;
return $without;
}
/**
* @deprecated 1.5.0
*/
public static function getCurrentShop()
{
return Context::getContext()->shop->getID(true);
}
}