mirror of
https://github.com/friendica/friendica
synced 2025-04-26 06:30:11 +00:00
Make variables non static
This commit is contained in:
parent
b5f184388a
commit
52db2b3da1
6 changed files with 141 additions and 145 deletions
|
@ -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();
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue