Make variables non static

This commit is contained in:
Michael 2023-09-09 12:48:51 +00:00
parent b5f184388a
commit 52db2b3da1
6 changed files with 141 additions and 145 deletions

View file

@ -38,7 +38,7 @@ class Channel extends ChannelModule
$o = '';
if (!empty($request['force'])) {
if ($this->timeline->isChannel(self::$selectedTab)) {
if ($this->timeline->isChannel($this->selectedTab)) {
$items = $this->getChannelItems();
} else {
$items = $this->getCommunityItems();

View file

@ -65,7 +65,7 @@ class Network extends NetworkModule
$conditionFields['unseen'] = true;
}
$params = ['limit' => self::$itemsPerPage];
$params = ['limit' => $this->itemsPerPage];
$table = 'network-thread-view';
$items = $this->getItems($table, $params, $conditionFields);