// Performance optimizations

This commit is contained in:
rGaillard
2012-05-29 08:32:13 +00:00
parent 916c09e068
commit cebd95901d
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;
}
/**