]> git.mxchange.org Git - friendica.git/blobdiff - mod/update_profile.php
Ops, one more left ...
[friendica.git] / mod / update_profile.php
index 4d1f158b39dd9f12871e1e8c5546a286cfc65601..984fd7949cffbe1393d004fa6a7d4ab0a37204f9 100644 (file)
@@ -31,11 +31,7 @@ function update_profile_content(App $a) {
 
        $text = profile_content($a, $profile_uid);
 
-       $pattern = "/<img([^>]*) src=\"([^\"]*)\"/";
-       $replace = "<img\${1} dst=\"\${2}\"";
-       $text = preg_replace($pattern, $replace, $text);
-
-       if (PConfig::get(local_user(), "system", "bandwith_saver")) {
+       if (PConfig::get(local_user(), "system", "bandwidth_saver")) {
                $replace = "<br />".L10n::t("[Embedded content - reload page to view]")."<br />";
                $pattern = "/<\s*audio[^>]*>(.*?)<\s*\/\s*audio>/i";
                $text = preg_replace($pattern, $replace, $text);