summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/themes/catalog/theme.php2
-rw-r--r--templates/themes/recent/theme.php2
-rw-r--r--templates/themes/sitemap/theme.php2
3 files changed, 3 insertions, 3 deletions
diff --git a/templates/themes/catalog/theme.php b/templates/themes/catalog/theme.php
index 96550683..424a813b 100644
--- a/templates/themes/catalog/theme.php
+++ b/templates/themes/catalog/theme.php
@@ -20,7 +20,7 @@
$b = new Catalog();
$b->build($settings, $board);
}
- } elseif ($action == 'post-thread' || ($settings['update_on_posts'] && $action == 'post') && in_array($board, $boards)) {
+ } elseif ($action == 'post-thread' || ($settings['update_on_posts'] && $action == 'post') || ($settings['update_on_posts'] && $action == 'post-delete') && in_array($board, $boards)) {
$b = new Catalog();
$b->build($settings, $board);
}
diff --git a/templates/themes/recent/theme.php b/templates/themes/recent/theme.php
index 08d910f8..4bbf1469 100644
--- a/templates/themes/recent/theme.php
+++ b/templates/themes/recent/theme.php
@@ -24,7 +24,7 @@
$this->excluded = explode(' ', $settings['exclude']);
- if ($action == 'all' || $action == 'post' || $action == 'post-thread')
+ if ($action == 'all' || $action == 'post' || $action == 'post-thread' || $action == 'post-delete')
file_write($config['dir']['home'] . $settings['html'], $this->homepage($settings));
}
diff --git a/templates/themes/sitemap/theme.php b/templates/themes/sitemap/theme.php
index 226f8357..7e5b1984 100644
--- a/templates/themes/sitemap/theme.php
+++ b/templates/themes/sitemap/theme.php
@@ -11,7 +11,7 @@
// - post (a post has been made)
// - thread (a thread has been made)
- if ($action != 'post' && $action != 'post-thread')
+ if ($action != 'post' && $action != 'post-thread' && $action != 'post-delete')
return;
$boards = explode(' ', $settings['boards']);