From 405fa48f8485f10a591d82de48e9ef15e4aa7f05 Mon Sep 17 00:00:00 2001 From: Sam Minnee Date: Thu, 15 Oct 2009 22:28:05 +0000 Subject: [PATCH] MINOR don't cache redirector pages (from r85212) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@89188 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- core/model/RedirectorPage.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/core/model/RedirectorPage.php b/core/model/RedirectorPage.php index d6b4f36c9..ded9a6a50 100755 --- a/core/model/RedirectorPage.php +++ b/core/model/RedirectorPage.php @@ -121,10 +121,9 @@ class RedirectorPage extends Page { return $fields; } + // Don't cache RedirectorPages function subPagesToCache() { - $urls = parent::subPagesToCache(); - $urls[] = $this->URLSegment . '/'; - return $urls; + return array(); } }