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

This commit is contained in:
rMalie
2011-12-29 08:49:09 +00:00
parent f21d8b754f
commit 1082bccc47
+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);
}
}