mirror of
https://github.com/friendica/friendica
synced 2025-04-19 13:50:15 +00:00
Term constants updated
This commit is contained in:
parent
552fd98657
commit
661dd43b0d
14 changed files with 31 additions and 51 deletions
|
@ -25,6 +25,7 @@ use Friendica\BaseModule;
|
|||
use Friendica\Core\System;
|
||||
use Friendica\Database\DBA;
|
||||
use Friendica\Util\Strings;
|
||||
use Friendica\Model\Term;
|
||||
|
||||
/**
|
||||
* Hashtag module.
|
||||
|
@ -43,7 +44,7 @@ class Hashtag extends BaseModule
|
|||
|
||||
$taglist = DBA::p("SELECT DISTINCT(`term`) FROM `term` WHERE `term` LIKE ? AND `type` = ? ORDER BY `term`",
|
||||
$t . '%',
|
||||
intval(TERM_HASHTAG)
|
||||
intval(Term::HASHTAG)
|
||||
);
|
||||
while ($tag = DBA::fetch($taglist)) {
|
||||
$result[] = ['text' => $tag['term']];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue