X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=mod%2Fupdate_network.php;h=3a5741f6ac0629bdd91b38800aab3470b471e9f5;hb=0b5f7da270bcaa679cb684dbbbbe40781f0b49c6;hp=a6c8173794546301ed8af159d42cd9bd37e9a868;hpb=cd1724eb9ef4e07ced4c9019dd7bad55dc21abce;p=friendica.git
diff --git a/mod/update_network.php b/mod/update_network.php
index a6c8173794..3a5741f6ac 100644
--- a/mod/update_network.php
+++ b/mod/update_network.php
@@ -5,11 +5,10 @@
use Friendica\App;
use Friendica\Core\PConfig;
-require_once("mod/network.php");
-require_once("include/group.php");
-
-function update_network_content(App $a) {
+require_once "mod/network.php";
+function update_network_content(App $a)
+{
$profile_uid = intval($_GET["p"]);
header("Content-type: text/html");
@@ -27,7 +26,7 @@ function update_network_content(App $a) {
$text = preg_replace($pattern, $replace, $text);
if (PConfig::get(local_user(), "system", "bandwith_saver")) {
- $replace = "
".t("[Embedded content - reload page to view]")."
";
+ $replace = "
" . t("[Embedded content - reload page to view]") . "
";
$pattern = "/<\s*audio[^>]*>(.*?)<\s*\/\s*audio>/i";
$text = preg_replace($pattern, $replace, $text);
$pattern = "/<\s*video[^>]*>(.*?)<\s*\/\s*video>/i";