Move "isType" to Tag.php
This commit is contained in:
parent
ac2957c4dd
commit
029a379060
3 changed files with 24 additions and 25 deletions
|
@ -906,7 +906,7 @@ function handle_tag(&$body, &$inform, &$str_tags, $profile_uid, $tag, $network =
|
|||
$r = null;
|
||||
|
||||
//is it a person tag?
|
||||
if (Term::isType($tag, Tag::MENTION, Tag::IMPLICIT_MENTION, Tag::EXCLUSIVE_MENTION)) {
|
||||
if (Tag::isType($tag, Tag::MENTION, Tag::IMPLICIT_MENTION, Tag::EXCLUSIVE_MENTION)) {
|
||||
$tag_type = substr($tag, 0, 1);
|
||||
//is it already replaced?
|
||||
if (strpos($tag, '[url=')) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue