mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
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
This commit is contained in:
parent
dd8120aed7
commit
405fa48f84
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user