mirror of
https://github.com/friendica/friendica
synced 2025-04-19 05:50:10 +00:00
Move remaining functions
update remaining function calls
This commit is contained in:
parent
1eb7c19c1e
commit
ca76e49c23
19 changed files with 58 additions and 51 deletions
|
@ -9,6 +9,7 @@
|
|||
*/
|
||||
|
||||
use Friendica\Core\Addon;
|
||||
use Friendica\Util\Network;
|
||||
use Friendica\Util\XML;
|
||||
|
||||
function node2bbcode(&$doc, $oldnode, $attributes, $startbb, $endbb)
|
||||
|
@ -362,7 +363,7 @@ function addHostnameSub($matches, $basepath)
|
|||
$url = $matches[1];
|
||||
|
||||
$parts = array_merge($base, parse_url($url));
|
||||
$url2 = unParseUrl($parts);
|
||||
$url2 = Network::unParseURL($parts);
|
||||
|
||||
return str_replace($url, $url2, $link);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue