Some more changes after review
This commit is contained in:
parent
73e9190ce7
commit
5d6e02bef3
1 changed files with 3 additions and 3 deletions
|
@ -330,7 +330,7 @@ class Display extends BaseSettings
|
||||||
$timelines = [];
|
$timelines = [];
|
||||||
|
|
||||||
foreach ($this->timeline->getNetworkFeeds('') as $channel) {
|
foreach ($this->timeline->getNetworkFeeds('') as $channel) {
|
||||||
$timelines[$channel->code] = $channel;
|
$timelines[] = $channel;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($only_network) {
|
if ($only_network) {
|
||||||
|
@ -338,11 +338,11 @@ class Display extends BaseSettings
|
||||||
}
|
}
|
||||||
|
|
||||||
foreach ($this->timeline->getChannelsForUser($uid) as $channel) {
|
foreach ($this->timeline->getChannelsForUser($uid) as $channel) {
|
||||||
$timelines[$channel->code] = $channel;
|
$timelines[] = $channel;
|
||||||
}
|
}
|
||||||
|
|
||||||
foreach ($this->timeline->getCommunities(true) as $community) {
|
foreach ($this->timeline->getCommunities(true) as $community) {
|
||||||
$timelines[$community->code] = $community;
|
$timelines[] = $community;
|
||||||
}
|
}
|
||||||
|
|
||||||
return new Timelines($timelines);
|
return new Timelines($timelines);
|
||||||
|
|
Loading…
Reference in a new issue