mirror of
https://github.com/wilr/silverstripe-googlesitemaps.git
synced 2024-10-22 11:05:48 +02:00
More Silverstrie 4 compatibility
This commit is contained in:
parent
51fa6f4c25
commit
4333bb6777
@ -244,7 +244,7 @@ class GoogleSitemap extends Object
|
||||
}
|
||||
|
||||
if($redirector) {
|
||||
foreach (ClassInfo::subclassesFor('RedirectorPage') as $redirectorClass) {
|
||||
foreach (ClassInfo::subclassesFor('SilverStripe\\CMS\\Model\\RedirectorPage') as $redirectorClass) {
|
||||
$instances = $instances->exclude('ClassName', $redirectorClass);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user