aboutsummaryrefslogtreecommitdiff
path: root/templates/postform.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/postform.inc.php')
-rw-r--r--templates/postform.inc.php10
1 files changed, 0 insertions, 10 deletions
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();
}