diff --git a/boot.php b/boot.php index ede6fc77b9..98db95227f 100644 --- a/boot.php +++ b/boot.php @@ -32,7 +32,6 @@ use Friendica\Model\Contact; use Friendica\Database\DBStructure; use Friendica\Module\Login; -require_once 'include/network.php'; require_once 'include/text.php'; require_once 'include/datetime.php'; diff --git a/include/bbcode.php b/include/bbcode.php index 0544c4c616..8f758ae616 100644 --- a/include/bbcode.php +++ b/include/bbcode.php @@ -748,8 +748,6 @@ function bb_RemovePictureLinks($match) { $text = "[url=".$match[2]."]".$match[2]."[/url]"; // if its not a picture then look if its a page that contains a picture link - require_once("include/network.php"); - $body = Network::fetchURL($match[1]); $doc = new DOMDocument(); @@ -805,8 +803,6 @@ function bb_CleanPictureLinksSub($match) { $text = "[img]".$match[2]."[/img]"; // if its not a picture then look if its a page that contains a picture link - require_once("include/network.php"); - $body = Network::fetchURL($match[1]); $doc = new DOMDocument(); diff --git a/include/network.php b/include/network.php deleted file mode 100644 index 840991aa52..0000000000 --- a/include/network.php +++ /dev/null @@ -1,58 +0,0 @@ -