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

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@7842 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
rMalie
2011-08-02 09:54:23 +00:00
parent ab5fc723b4
commit c945049ef1
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