From 7c3bde4d9f6876d88dbf07aee5e35e55a86562ae Mon Sep 17 00:00:00 2001 From: Ryan Wachtl Date: Fri, 8 Mar 2013 14:44:14 -0600 Subject: [PATCH] Update index.md `GoogleSitemap::register()` should be `GoogleSitemap::register_dataobject()` --- docs/en/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/en/index.md b/docs/en/index.md index 4f06081..bf6fe23 100644 --- a/docs/en/index.md +++ b/docs/en/index.md @@ -96,10 +96,10 @@ do that, include the following in your _config.php file. GoogleSitemap::register_dataobject('MyDataObject'); If you need to change the frequency of the indexing, you can pass the change -frequency (daily, weekly, monthly) as a second parameter to register(), So +frequency (daily, weekly, monthly) as a second parameter to register_dataobject(), So instead of the previous code you would write: - GoogleSitemap::register('MyDataObject', 'daily'); + GoogleSitemap::register_dataobject('MyDataObject', 'daily'); See the following blog post for more information: