Make "HTTPRequest::fetchUrl" dynamic

This commit is contained in:
nupplaPhil 2020-03-04 22:20:28 +01:00 committed by Hypolite Petovan
parent 3b4cf87c95
commit 1aa07f87a4
20 changed files with 26 additions and 46 deletions

View file

@ -25,7 +25,6 @@ use Friendica\Core;
use Friendica\Database\DBA;
use Friendica\DI;
use Friendica\Model\Process;
use Friendica\Network\HTTPRequest;
use Friendica\Util\DateTimeFormat;
/**
@ -997,7 +996,7 @@ class Worker
}
$url = DI::baseUrl() . '/worker';
HTTPRequest::fetchUrl($url, false, 1);
DI::httpRequest()->fetchUrl($url, false, 1);
}
/**