rename function

rename function and update calls.
This commit is contained in:
Adam Magness 2018-11-06 06:31:48 -05:00
parent 237fc30b4e
commit 3eecd108c5
3 changed files with 4 additions and 4 deletions

View file

@ -711,7 +711,7 @@ class HTML
*
* @param string $s
*/
public static function htmlToBBVideo($s)
public static function toBBVideo($s)
{
$s = preg_replace(
'#<object[^>]+>(.*?)https?://www.youtube.com/((?:v|cp)/[A-Za-z0-9\-_=]+)(.*?)</object>#ism',