mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-11 10:58:48 +00:00
Network was moved to src
update all function calls to use class, insert use statements and remove require_once statements
This commit is contained in:
parent
e09e16fd56
commit
ca3c45101e
19 changed files with 76 additions and 71 deletions
|
@ -68,6 +68,7 @@ use Friendica\Core\Config;
|
|||
use Friendica\Core\L10n;
|
||||
use Friendica\Core\PConfig;
|
||||
use Friendica\Model\User;
|
||||
use Friendica\Util\Network;
|
||||
|
||||
function jappixmini_install()
|
||||
{
|
||||
|
@ -658,7 +659,7 @@ function jappixmini_cron(App $a, $d)
|
|||
|
||||
try {
|
||||
// send request
|
||||
$answer_json = fetch_url($url);
|
||||
$answer_json = Network::fetchURL($url);
|
||||
|
||||
// parse answer
|
||||
$answer = json_decode($answer_json);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue