From 5d3e1971edc6ab314947c42f32e2d3df3444404f Mon Sep 17 00:00:00 2001 From: Iván Ávalos Date: Sat, 2 Sep 2023 01:25:27 -0600 Subject: Removed feeds and micropub support --- templates/postform.inc.php | 2 -- templates/single.inc.php | 7 ------- 2 files changed, 9 deletions(-) (limited to 'templates') 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(); } -- cgit v1.2.3