mirror of
https://github.com/friendica/friendica
synced 2025-04-26 03:50:12 +00:00
Further improvements to the automatic update process
This commit is contained in:
parent
e81c911b49
commit
f1fa1f0b62
5 changed files with 9 additions and 6 deletions
|
@ -37,7 +37,7 @@ class Channel extends ChannelModule
|
|||
$this->parseRequest($request);
|
||||
|
||||
$o = '';
|
||||
if ($this->force) {
|
||||
if ($this->update || $this->force) {
|
||||
if ($this->timeline->isChannel($this->selectedTab)) {
|
||||
$items = $this->getChannelItems();
|
||||
} else {
|
||||
|
|
|
@ -39,7 +39,7 @@ class Community extends CommunityModule
|
|||
$this->parseRequest($request);
|
||||
|
||||
$o = '';
|
||||
if ($this->force) {
|
||||
if ($this->update || $this->force) {
|
||||
$o = DI::conversation()->render($this->getCommunityItems(), Conversation::MODE_COMMUNITY, true, false, 'commented', DI::userSession()->getLocalUserId());
|
||||
}
|
||||
|
||||
|
|
|
@ -37,7 +37,7 @@ class Network extends NetworkModule
|
|||
|
||||
$o = '';
|
||||
|
||||
if (!$this->force) {
|
||||
if (!$this->update && !$this->force) {
|
||||
System::htmlUpdateExit($o);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue