BUGFIX: Removed obsolete cache argument from currentSubsiteID() (from r80862)

This commit is contained in:
Tom Rix 2010-03-01 02:53:07 +00:00
parent 68dfd71c5e
commit 503ec12dd8

View File

@ -205,7 +205,7 @@ JS;
* @param boolean $cache
* @return int ID of the current subsite instance
*/
static function currentSubsiteID($cache = true) {
static function currentSubsiteID() {
if(isset($_REQUEST['SubsiteID'])) {
$id = (int)$_REQUEST['SubsiteID'];
} else {
@ -213,7 +213,7 @@ JS;
}
if(!isset($id) || $id === NULL) {
$id = self::getSubsiteIDForDomain($cache);
$id = self::getSubsiteIDForDomain();
Session::set('SubsiteID', $id);
}