From 9a5824795f26ef8897a6b80741071d6e9e57b5ca Mon Sep 17 00:00:00 2001 From: floppy0 <31189947+floppy0@users.noreply.github.com> Date: Wed, 28 Feb 2018 11:08:35 +0100 Subject: [PATCH] call recreate xml after save settings --- bl-plugins/rss/plugin.php | 9 +++++++++ bl-plugins/sitemap/plugin.php | 9 +++++++++ 2 files changed, 18 insertions(+) diff --git a/bl-plugins/rss/plugin.php b/bl-plugins/rss/plugin.php index 72c76164..f3a6595c 100644 --- a/bl-plugins/rss/plugin.php +++ b/bl-plugins/rss/plugin.php @@ -82,6 +82,15 @@ class pluginRSS extends Plugin { $this->createXML(); } + public function post() + { + // Call the method + parent::post(); + + // After POST request + $this->createXML(); + } + public function afterPageCreate() { $this->createXML(); diff --git a/bl-plugins/sitemap/plugin.php b/bl-plugins/sitemap/plugin.php index 606a3f51..ce05d798 100644 --- a/bl-plugins/sitemap/plugin.php +++ b/bl-plugins/sitemap/plugin.php @@ -59,6 +59,15 @@ class pluginSitemap extends Plugin { $this->createXML(); } + public function post() + { + // Call the method + parent::post(); + + // After POST request + $this->createXML(); + } + public function afterPageCreate() { $this->createXML();