Move post/curl/fetchUrl/fetchUrlFull to own class "Network\HTTPRequest"

This commit is contained in:
nupplaPhil 2020-03-04 22:07:05 +01:00 committed by Hypolite Petovan
parent 2889d59b83
commit 5344efef71
43 changed files with 528 additions and 485 deletions

View file

@ -25,8 +25,8 @@ use Friendica\Core;
use Friendica\Database\DBA;
use Friendica\DI;
use Friendica\Model\Process;
use Friendica\Network\HTTPRequest;
use Friendica\Util\DateTimeFormat;
use Friendica\Util\Network;
/**
* Contains the class for the worker background job processing
@ -997,7 +997,7 @@ class Worker
}
$url = DI::baseUrl() . '/worker';
Network::fetchUrl($url, false, 1);
HTTPRequest::fetchUrl($url, false, 1);
}
/**