mirror of
https://github.com/friendica/friendica
synced 2024-12-23 04:40:15 +00:00
Merge pull request #14101 from annando/self-this
"self::" should be "$this->" on non static functions
This commit is contained in:
commit
1cabf53bf5
1 changed files with 3 additions and 3 deletions
|
@ -461,7 +461,7 @@ class Timeline extends BaseModule
|
||||||
|
|
||||||
if (!empty($channel->fullTextSearch)) {
|
if (!empty($channel->fullTextSearch)) {
|
||||||
if (!empty($channel->includeTags)) {
|
if (!empty($channel->includeTags)) {
|
||||||
$additional = self:: addIncludeTags($channel->includeTags);
|
$additional = $this->addIncludeTags($channel->includeTags);
|
||||||
} else {
|
} else {
|
||||||
$additional = '';
|
$additional = '';
|
||||||
}
|
}
|
||||||
|
@ -473,10 +473,10 @@ class Timeline extends BaseModule
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!empty($channel->mediaType)) {
|
if (!empty($channel->mediaType)) {
|
||||||
$additional .= self::addMediaTerms($channel->mediaType);
|
$additional .= $this->addMediaTerms($channel->mediaType);
|
||||||
}
|
}
|
||||||
|
|
||||||
$additional .= self::addLanguageSearchTerms($uid, $channel->languages);
|
$additional .= $this->addLanguageSearchTerms($uid, $channel->languages);
|
||||||
|
|
||||||
if ($additional) {
|
if ($additional) {
|
||||||
$searchterms = '+(' . trim($channel->fullTextSearch) . ')' . $additional;
|
$searchterms = '+(' . trim($channel->fullTextSearch) . ')' . $additional;
|
||||||
|
|
Loading…
Reference in a new issue