Better function name

This commit is contained in:
Michael 2019-11-11 23:13:36 +00:00
commit 8997361609
2 changed files with 2 additions and 2 deletions

View file

@ -1115,7 +1115,7 @@ class Transmitter
'/\[url=([^\[\]]*)\]\[img\](.*)\[\/img\]\[\/url\]/Usi',
function ($match) {
// We remove the link when it is a link to a local photo page
if (Photo::isLocalLink($match[1])) {
if (Photo::isLocalPage($match[1])) {
return '';
}
// otherwise we just return the link