mirror of
https://github.com/friendica/friendica
synced 2025-04-28 03:50:17 +00:00
Make "HTTPRequest::fetchUrl" dynamic
This commit is contained in:
parent
3b4cf87c95
commit
1aa07f87a4
20 changed files with 26 additions and 46 deletions
|
@ -26,7 +26,6 @@ use Friendica\Core\Logger;
|
|||
use Friendica\Core\Worker;
|
||||
use Friendica\Database\DBA;
|
||||
use Friendica\DI;
|
||||
use Friendica\Network\HTTPRequest;
|
||||
|
||||
/**
|
||||
* Sends updated profile data to the directory
|
||||
|
@ -54,7 +53,7 @@ class Directory
|
|||
|
||||
Logger::log('Updating directory: ' . $arr['url'], Logger::DEBUG);
|
||||
if (strlen($arr['url'])) {
|
||||
HTTPRequest::fetchUrl($dir . '?url=' . bin2hex($arr['url']));
|
||||
DI::httpRequest()->fetchUrl($dir . '?url=' . bin2hex($arr['url']));
|
||||
}
|
||||
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue