Skip to content

Commit

Permalink
add deprecated warning
Browse files Browse the repository at this point in the history
  • Loading branch information
keywan-ghadami-oxid authored Jan 7, 2020
1 parent 39ad33e commit ab64ce2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Core/ShopConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ class ShopConfig extends Config
*/
public function __construct($iShopId)
{
print "Using this shop config class is depricated\n";
print "Please extract what you need from this class to a lib or to your application\n";
$this->iShopId = $iShopId;
$this->init();
}
Expand Down

0 comments on commit ab64ce2

Please sign in to comment.