]> git.mxchange.org Git - friendica.git/blobdiff - mod/admin.php
normalise_link calls
[friendica.git] / mod / admin.php
index 76f994502ba903a2c3882380e3676d0ecfc7c7d7..873966b99944c657601161824b0b034a69087bc5 100644 (file)
@@ -997,8 +997,8 @@ function admin_page_site_post(App $a)
                $old_url = $a->getBaseURL(true);
 
                // Generate host names for relocation the addresses in the format user@address.tld
-               $new_host = str_replace("http://", "@", normalise_link($new_url));
-               $old_host = str_replace("http://", "@", normalise_link($old_url));
+               $new_host = str_replace("http://", "@", Strings::normaliseLink($new_url));
+               $old_host = str_replace("http://", "@", Strings::normaliseLink($old_url));
 
                function update_table(App $a, $table_name, $fields, $old_url, $new_url)
                {