"self::" should be "$this->" on non static functions
authorMichael <heluecht@pirati.ca>
Thu, 18 Apr 2024 05:18:44 +0000 (05:18 +0000)
committerMichael <heluecht@pirati.ca>
Thu, 18 Apr 2024 05:18:44 +0000 (05:18 +0000)
src/Module/Conversation/Timeline.php

index f1a1d79..9088854 100644 (file)
@@ -461,7 +461,7 @@ class Timeline extends BaseModule
 
                if (!empty($channel->fullTextSearch)) {
                        if (!empty($channel->includeTags)) {
-                               $additional = self:: addIncludeTags($channel->includeTags);
+                               $additional = $this->addIncludeTags($channel->includeTags);
                        } else {
                                $additional = '';
                        }
@@ -473,10 +473,10 @@ class Timeline extends BaseModule
                        }
 
                        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) {
                                $searchterms = '+(' . trim($channel->fullTextSearch) . ')' . $additional;