silverstripe-labs/silverstripe-googlesitemaps — pull request #52 by TomSpeak (2013-08-27 14:33:08+00:00)
Title: FIX Changing `alterCanIncludeInGoogleSitemap` to call owner object and e...

...xtensions

At the moment `alterCanIncludeInGoogleSitemap` is only called on other extensions, but really we'd want to see this called on the owner object and its extensions.

Fixed to use `invokeWithExtensions` rather than `extend`