mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-22 06:43:40 +00:00
[twitter] Fix typo, improve formatting in twitter_unfollow()
This commit is contained in:
parent
250dafd2b6
commit
31dd9f8e22
1 changed files with 5 additions and 5 deletions
|
@ -177,7 +177,7 @@ function twitter_follow(App $a, array &$contact)
|
||||||
function twitter_unfollow(App $a, array &$hook_data)
|
function twitter_unfollow(App $a, array &$hook_data)
|
||||||
{
|
{
|
||||||
$contact = $hook_data['contact'];
|
$contact = $hook_data['contact'];
|
||||||
if ($contact['netword'] !== Protocol::TWITTER) {
|
if ($contact['network'] !== Protocol::TWITTER) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue