aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-03-12 09:06:20 +0000
committerMario <mario@mariovavti.com>2021-03-12 09:06:20 +0000
commit432e7e9714a98d9438a135451fa09c9486cb160f (patch)
treeaba14a4eb0ca26205b22845d57ce1193f98dc747
parent31e237729c3cd1b0ccbef67db5b7f36e1027c6dc (diff)
downloadvolse-hubzilla-432e7e9714a98d9438a135451fa09c9486cb160f.tar.gz
volse-hubzilla-432e7e9714a98d9438a135451fa09c9486cb160f.tar.bz2
volse-hubzilla-432e7e9714a98d9438a135451fa09c9486cb160f.zip
revert follow_failover hook - there is a cleaner solution
-rw-r--r--Zotlabs/Module/Follow.php8
1 files changed, 0 insertions, 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']);
}