From aa1bac9aa30c6ba8ff48c8b70dfc523e3197e315 Mon Sep 17 00:00:00 2001 From: Iván Ávalos Date: Sat, 2 Sep 2023 00:18:55 -0600 Subject: Remove ActivityPub and Twitter support, and fix localhost --- templates/postform.inc.php | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'templates/postform.inc.php') diff --git a/templates/postform.inc.php b/templates/postform.inc.php index 59579c1..63e3901 100644 --- a/templates/postform.inc.php +++ b/templates/postform.inc.php @@ -26,16 +26,6 @@ rebuild_feeds(); - if($config['activitypub'] == true) activitypub_notify_followers($id); - if($config['ping'] == true) ping_microblog(); - if($config['crosspost_to_twitter'] == true) { - $twitter_response = json_decode(twitter_post_status($_POST['content']), true); - - if(!empty($twitter_response['errors'])) { - $message['message'] .= ' (But crossposting to twitter failed!)'; - } - } - header('Location: '.$config['url']); die(); } -- cgit v1.2.3