mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-29 06:53:15 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue