From 432e7e9714a98d9438a135451fa09c9486cb160f Mon Sep 17 00:00:00 2001 From: Mario Date: Fri, 12 Mar 2021 09:06:20 +0000 Subject: revert follow_failover hook - there is a cleaner solution --- Zotlabs/Module/Follow.php | 8 -------- 1 file changed, 8 deletions(-) diff --git a/Zotlabs/Module/Follow.php b/Zotlabs/Module/Follow.php index d4e8d1a0c..4fe20f56b 100644 --- a/Zotlabs/Module/Follow.php +++ b/Zotlabs/Module/Follow.php @@ -79,14 +79,6 @@ class Follow extends Controller { $result = Connect::connect($channel,$url); if ($result['success'] == false) { - - // this hook is currently used for mastodons remote reply functionality - $hookdata = [ - 'channel' => $channel, - 'data' => $url - ]; - call_hooks('follow_failover', $hookdata); - if ($result['message']) { notice($result['message']); } -- cgit v1.2.3