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
1 changed files with 1 additions and 1 deletions

View File

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