diff options
author | Iván Ávalos <avalos@disroot.org> | 2023-09-02 01:25:27 -0600 |
---|---|---|
committer | Iván Ávalos <avalos@disroot.org> | 2023-09-02 01:25:27 -0600 |
commit | 5d3e1971edc6ab314947c42f32e2d3df3444404f (patch) | |
tree | 7dbba55d1a54b013d61e4ce4b60556951ab30bc1 /templates | |
parent | 17c9687eba66fc47b3038c1715aa773b5eaf8cf7 (diff) | |
download | microblog-5d3e1971edc6ab314947c42f32e2d3df3444404f.tar.gz microblog-5d3e1971edc6ab314947c42f32e2d3df3444404f.tar.bz2 microblog-5d3e1971edc6ab314947c42f32e2d3df3444404f.zip |
Diffstat (limited to 'templates')
-rw-r--r-- | templates/postform.inc.php | 2 | ||||
-rw-r--r-- | templates/single.inc.php | 7 |
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(); } |