mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-09 22:34:26 +02:00
Term constants updated
This commit is contained in:
parent
552fd98657
commit
661dd43b0d
14 changed files with 31 additions and 51 deletions
|
@ -23,6 +23,7 @@ namespace Friendica\Model;
|
|||
|
||||
use Friendica\Database\DBA;
|
||||
use Friendica\DI;
|
||||
use Friendica\Model\Term;
|
||||
|
||||
/**
|
||||
* This class handles FileTag related functions
|
||||
|
@ -195,11 +196,11 @@ class FileTag
|
|||
if ($type == 'file') {
|
||||
$lbracket = '[';
|
||||
$rbracket = ']';
|
||||
$termtype = TERM_FILE;
|
||||
$termtype = Term::FILE;
|
||||
} else {
|
||||
$lbracket = '<';
|
||||
$rbracket = '>';
|
||||
$termtype = TERM_CATEGORY;
|
||||
$termtype = Term::CATEGORY;
|
||||
}
|
||||
|
||||
$filetags_updated = $saved;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue