From: Steve Sutton Date: Tue, 4 Jun 2013 15:15:46 +0000 (+0000) Subject: there will be no members only area X-Git-Tag: v1.0~158 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=d8feaf382f88896edab2566425eaddcef68474ac;p=web%2FMichiganTrailMaps.git there will be no members only area --- diff --git a/Toolkit/Page.php b/Toolkit/Page.php index e74f0cc..1ed478c 100755 --- a/Toolkit/Page.php +++ b/Toolkit/Page.php @@ -322,17 +322,6 @@ class Toolkit_Page */ public function fetchPage() { - if (defined('MEMBERS_DB') && MEMBERS_DB) { - // check to see if this page is a member only page - $memberOnlyPage = Toolkit_Template_Page::isMemberOnly( - $this->_pageGateway, $this->_catid - ); - if ($memberOnlyPage - && !strpos($_SERVER['REQUEST_URI'], 'members-only-area') - ) { - header('Location: ' . $this->getToolboxUrl(MEMBERS_CATEGORY)); - } - } $this->pageTitle = $this->_getPageTitle($this->_catid); $bodyFactory = new Toolkit_Template_Page_BodyFactory(