Merge pull request 'Tumblr: Make it compatible with PHP 7.4.0' (#1370) from heluecht/friendica-addons:tumblr-php-7.4 into 2023.03-rc
Reviewed-on: https://git.friendi.ca/friendica/friendica-addons/pulls/1370
This commit is contained in:
commit
5cae2bffb2
|
@ -442,7 +442,7 @@ function tumblr_send_npf(array $post): bool
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function tumblr_connection(int $uid): GuzzleHttp\Client|null
|
function tumblr_connection(int $uid): ?GuzzleHttp\Client
|
||||||
{
|
{
|
||||||
$oauth_token = DI::pConfig()->get($uid, 'tumblr', 'oauth_token');
|
$oauth_token = DI::pConfig()->get($uid, 'tumblr', 'oauth_token');
|
||||||
$oauth_token_secret = DI::pConfig()->get($uid, 'tumblr', 'oauth_token_secret');
|
$oauth_token_secret = DI::pConfig()->get($uid, 'tumblr', 'oauth_token_secret');
|
||||||
|
|
Loading…
Reference in New Issue
Block a user