Add support for configuring multiple static publisher on a single site (from r70203)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@88638 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Sam Minnee 2009-10-12 03:39:44 +00:00
parent c9749e39ab
commit 53bb4296df

View File

@ -88,7 +88,7 @@ class RebuildStaticCacheTask extends Controller {
echo "done.\n\n";
}
echo "Rebuilding cache from " . sizeof($mappedUrls) . " urls...\n\n";
$page->publishPages($mappedUrls);
$page->extend('publishPages', $mappedUrls);
echo "\n\n== Done! ==";
}