From 503ec12dd8855265c3bca6eacedee65d54af3f50 Mon Sep 17 00:00:00 2001 From: Tom Rix Date: Mon, 1 Mar 2010 02:53:07 +0000 Subject: [PATCH] BUGFIX: Removed obsolete cache argument from currentSubsiteID() (from r80862) --- code/Subsite.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/Subsite.php b/code/Subsite.php index 27eb964..2910b74 100644 --- a/code/Subsite.php +++ b/code/Subsite.php @@ -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); }