aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorIván Ávalos <avalos@disroot.org>2023-09-02 01:25:27 -0600
committerIván Ávalos <avalos@disroot.org>2023-09-02 01:25:27 -0600
commit5d3e1971edc6ab314947c42f32e2d3df3444404f (patch)
tree7dbba55d1a54b013d61e4ce4b60556951ab30bc1 /templates
parent17c9687eba66fc47b3038c1715aa773b5eaf8cf7 (diff)
downloadmicroblog-master.tar.gz
microblog-master.tar.bz2
microblog-master.zip
Removed feeds and micropub supportHEADmaster
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();
}