Skip to content
Permalink
Browse files

fix sitemap creation crash in installer

  • Loading branch information...
Patrick
Patrick committed Jul 23, 2019
1 parent 227b929 commit 249f9260bcd8ebd6acf15c81e5aa7551071fe41e
Showing with 4 additions and 0 deletions.
  1. +4 −0 sources/sitemap_xml.php
@@ -373,6 +373,10 @@ function canonicalise_sitemap_page_link(&$page_link)
*/
function notify_sitemap_node_add($page_link, $add_date, $edit_date, $priority, $refreshfreq, $guest_access)
{
if (running_script('install')) {
return;
}
canonicalise_sitemap_page_link($page_link);
// Maybe we're still installing

0 comments on commit 249f926

Please sign in to comment.
You can’t perform that action at this time.