From: Adam Magness Date: Sat, 27 Jan 2018 13:28:20 +0000 (-0500) Subject: Remove old file X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=0f1be372797c3911323c15b85a82ea47db0608f8;p=friendica.git Remove old file remove network.php and all require_once statements --- 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 @@ -