mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-06-07 09:54:27 +02:00
Rename "fetchUrl" and "fetchUrlFull" to "fetch" and "fetchFull"
This commit is contained in:
parent
72c24efe5b
commit
19b2c8d833
9 changed files with 14 additions and 16 deletions
|
@ -15,7 +15,6 @@ use Friendica\Core\Cache\Duration;
|
|||
use Friendica\Core\Hook;
|
||||
use Friendica\Core\Protocol;
|
||||
use Friendica\DI;
|
||||
use Friendica\Network\HTTPRequest;
|
||||
use Friendica\Util\Proxy as ProxyUtils;
|
||||
|
||||
function mastodoncustomemojis_install()
|
||||
|
@ -90,7 +89,7 @@ function mastodoncustomemojis_fetch_custom_emojis_for_url($api_base_url)
|
|||
|
||||
$api_url = $api_base_url . '/api/v1/custom_emojis';
|
||||
|
||||
$fetchResult = DI::httpRequest()->fetchUrlFull($api_url);
|
||||
$fetchResult = DI::httpRequest()->fetchFull($api_url);
|
||||
|
||||
if ($fetchResult->isSuccess()) {
|
||||
$emojis_array = json_decode($fetchResult->getBody(), true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue