X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FContent%2FOEmbed.php;h=562febdaf916bc0d49a9eebc312a5c0019159be0;hb=df6cda8a4de30f55c126b95095c026e5b961c27c;hp=008269785262904c3314d7997f4f4fbc49badde7;hpb=bf9f09182e9f947e40b985640979ced2d9d115ef;p=friendica.git diff --git a/src/Content/OEmbed.php b/src/Content/OEmbed.php index 0082697852..562febdaf9 100644 --- a/src/Content/OEmbed.php +++ b/src/Content/OEmbed.php @@ -1,6 +1,6 @@ " . DI::l10n()->t('Embedding disabled') . " : $1", $text); } - return preg_replace_callback("/\[embed\](.+?)\[\/embed\]/is", ['self', 'replaceCallback'], $text); + return preg_replace_callback("/\[embed\](.+?)\[\/embed\]/is", [self::class, 'replaceCallback'], $text); } /**