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:
Adam Magness 2018-01-27 08:52:02 -05:00
parent e09e16fd56
commit ca3c45101e
19 changed files with 76 additions and 71 deletions

View file

@ -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);