// 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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user