Merge pull request #52 from TomSpeak/master

FIX Changing `alterCanIncludeInGoogleSitemap` to call owner and extensions
This commit is contained in:
Will Rossiter 2013-08-27 13:46:35 -07:00
commit 1416ad24ae

View File

@ -31,7 +31,7 @@ class GoogleSitemapExtension extends DataExtension {
$can = $this->owner->getGooglePriority(); $can = $this->owner->getGooglePriority();
} }
$this->owner->extend('alterCanIncludeInGoogleSitemap', $can); $this->owner->invokeWithExtensions('alterCanIncludeInGoogleSitemap', $can);
return $can; return $can;
} }