// Performance optimizations

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@15719 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
rGaillard
2012-05-29 08:32:13 +00:00
parent 9628df1624
commit 74f5b513af
7 changed files with 48 additions and 16 deletions
+5 -1
View File
@@ -163,7 +163,11 @@ class TaxCore extends ObjectModel
public static function excludeTaxeOption()
{
return !Configuration::get('PS_TAX');
static $ps_tax = null;
if ($ps_tax === null)
$ps_tax = Configuration::get('PS_TAX');
return !$ps_tax;
}
/**