mirror of
https://github.com/friendica/friendica
synced 2025-04-27 11:10:12 +00:00
Move fetch_url
move fetch_url function
This commit is contained in:
parent
1b51777825
commit
c67452f72e
25 changed files with 55 additions and 35 deletions
|
@ -10,7 +10,7 @@ use Friendica\Core\System;
|
|||
use Friendica\Database\DBM;
|
||||
use Friendica\Model\Process;
|
||||
use Friendica\Util\Lock;
|
||||
|
||||
use Friendica\Util\Network;
|
||||
use dba;
|
||||
|
||||
require_once 'include/dba.php';
|
||||
|
@ -888,7 +888,7 @@ class Worker
|
|||
}
|
||||
|
||||
$url = System::baseUrl()."/worker";
|
||||
fetch_url($url, false, $redirects, 1);
|
||||
Network::fetchURL($url, false, $redirects, 1);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue