diff options
author | Mario <mario@mariovavti.com> | 2021-05-26 11:28:33 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2021-05-26 11:28:33 +0000 |
commit | b742910107720797b05ec69ae626b420699e0630 (patch) | |
tree | ac3c1fd2e9ffc9fd6f4b4c6b9116714c28b2e0ce /Zotlabs/Lib/Libzot.php | |
parent | b7f124072fd8d4fec5b0c1ec1e56b3b854f640e7 (diff) | |
download | volse-hubzilla-b742910107720797b05ec69ae626b420699e0630.tar.gz volse-hubzilla-b742910107720797b05ec69ae626b420699e0630.tar.bz2 volse-hubzilla-b742910107720797b05ec69ae626b420699e0630.zip |
remove legacy zot from supported protocols
Diffstat (limited to 'Zotlabs/Lib/Libzot.php')
-rw-r--r-- | Zotlabs/Lib/Libzot.php | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/Zotlabs/Lib/Libzot.php b/Zotlabs/Lib/Libzot.php index 5cd304679..e44a82b71 100644 --- a/Zotlabs/Lib/Libzot.php +++ b/Zotlabs/Lib/Libzot.php @@ -2927,7 +2927,7 @@ class Libzot { $hookinfo = [ 'channel_id' => $id, - 'protocols' => ['zot6', 'zot'] + 'protocols' => ['zot6'] ]; /** * @hooks channel_protocols @@ -3231,11 +3231,6 @@ class Libzot { return $v; } } - foreach ($arr as $v) { - if ($v[$check] === 'zot') { - return $v; - } - } return $arr[0]; |