// Some fix + improve ergonomy + Tools::isMultiShopActived() moved in Shop class + 1.5.0.1 version in install script

This commit is contained in:
rMalie
2011-08-02 09:54:23 +00:00
parent 66eab15a18
commit 3c8c85b1cd
46 changed files with 370 additions and 357 deletions
-12
View File
@@ -1923,18 +1923,6 @@ FileETag INode MTime Size
break;
}
}
/**
* @return bool Return true if there is more than one shop
*/
public static function isMultiShopActivated()
{
static $total = null;
if (is_null($total))
$total = Shop::getTotalShops(true);
return ($total > 1) ? true : false;
}
/**
* Convert a shorthand byte value from a PHP configuration directive to an integer value