mirror of
https://github.com/friendica/friendica
synced 2025-04-27 03:10:12 +00:00
Move z_fetch_url
move z_fetch_url method
This commit is contained in:
parent
c67452f72e
commit
2f9642392d
14 changed files with 58 additions and 60 deletions
|
@ -38,9 +38,9 @@ use Friendica\Core\Config;
|
|||
use Friendica\Core\PConfig;
|
||||
use Friendica\Database\DBM;
|
||||
use Friendica\Model\User;
|
||||
use Friendica\Util\Network;
|
||||
use dba;
|
||||
|
||||
require_once 'include/dba.php';
|
||||
require_once 'include/dba.php';
|
||||
|
||||
class ExAuth
|
||||
|
@ -181,7 +181,7 @@ class ExAuth
|
|||
|
||||
$url = ($ssl ? 'https' : 'http') . '://' . $host . '/noscrape/' . $user;
|
||||
|
||||
$data = z_fetch_url($url);
|
||||
$data = Network::zFetchURL($url);
|
||||
|
||||
if (!is_array($data)) {
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue