mirror of
https://github.com/friendica/friendica
synced 2025-04-22 13:10:11 +00:00
Remove old file
remove network.php and all require_once statements
This commit is contained in:
parent
ca76e49c23
commit
0f1be37279
9 changed files with 1 additions and 69 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue