aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/postform.inc.php2
-rw-r--r--templates/single.inc.php7
2 files changed, 0 insertions, 9 deletions
diff --git a/templates/postform.inc.php b/templates/postform.inc.php
index 63e3901..282e9dc 100644
--- a/templates/postform.inc.php
+++ b/templates/postform.inc.php
@@ -24,8 +24,6 @@
attach_uploaded_files($_FILES['attachments'], $id);
}
- rebuild_feeds();
-
header('Location: '.$config['url']);
die();
}
diff --git a/templates/single.inc.php b/templates/single.inc.php
index a1344b0..438aa27 100644
--- a/templates/single.inc.php
+++ b/templates/single.inc.php
@@ -19,9 +19,6 @@
if(!$result) {
$error = 'Post could not be deleted!';
} else {
-
- rebuild_feeds();
-
header('Location: '.$config['url']);
die();
}
@@ -33,8 +30,6 @@
if(!$result) {
$error = 'Post could not be restored!';
- } else {
- rebuild_feeds();
}
}
@@ -72,8 +67,6 @@
if(!$result) {
$error = 'Post could not be updated!';
} else {
- rebuild_feeds();
-
header('Location: '.$config['url'].'/'.$_POST['id']);
die();
}