summaryrefslogtreecommitdiff
path: root/inc/actions.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/actions.php')
-rw-r--r--inc/actions.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/inc/actions.php b/inc/actions.php
index 2d70ac8ed..12c4c595f 100644
--- a/inc/actions.php
+++ b/inc/actions.php
@@ -615,8 +615,7 @@ function act_sitemap($act) {
// Check if sitemap file exists, otherwise create it
if (!is_readable($sitemap)) {
- require_once DOKU_INC.'inc/sitemap.php';
- sitemapGenerate();
+ Sitemapper::generate();
}
if (is_readable($sitemap)) {