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

@ -8,6 +8,7 @@
use Friendica\Core\Addon;
use Friendica\Core\L10n;
use Friendica\Core\PConfig;
use Friendica\Util\Network;
function blogger_install()
{
@ -205,7 +206,7 @@ EOT;
logger('blogger: data: ' . $xml, LOGGER_DATA);
if ($bl_blog !== 'test') {
$x = post_url($bl_blog, $xml);
$x = Network::postURL($bl_blog, $xml);
}
logger('posted to blogger: ' . (($x) ? $x : ''), LOGGER_DEBUG);