Skip to content

Commit

Permalink
seo_sitemap: add notification at sitemap rebuild for custom indexing (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
robvandenbogaard committed Feb 25, 2022
1 parent 72f3813 commit fd6c25f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/mod_seo_sitemap/mod_seo_sitemap.erl
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ event(#postback{ message = sitemap_rebuild }, Context) ->
of
true ->
m_seo_sitemap:rebuild_rsc(Context),
z_notifier:notify(seo_sitemap_rebuild, Context),
z_render:growl(?__("Rebuilding the sitemap in the background.", Context), Context);
false ->
z_render:growl(?__("You are not allowed to do this", Context), Context)
Expand Down

0 comments on commit fd6c25f

Please sign in to comment.