aboutsummaryrefslogtreecommitdiff
path: root/app/views/index
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2019-06-29 20:47:38 +0200
committerGravatar GitHub <noreply@github.com> 2019-06-29 20:47:38 +0200
commitad19b6bf2ec9e2974ff8382fabbd209ae1e4eab7 (patch)
tree8f50f603cf17012db0a8e9457070ea2b5efe1be0 /app/views/index
parent9720ab6a4d5b80784109482e4c02d1633c2d8326 (diff)
Fix wrong mark-as-read maxId argument (#2431)
Fix https://github.com/FreshRSS/FreshRSS/issues/2429
Diffstat (limited to 'app/views/index')
-rw-r--r--app/views/index/global.phtml5
-rw-r--r--app/views/index/normal.phtml5
-rw-r--r--app/views/index/reader.phtml5
3 files changed, 0 insertions, 15 deletions
diff --git a/app/views/index/global.phtml b/app/views/index/global.phtml
index 3566abe7e..2f25b6dc2 100644
--- a/app/views/index/global.phtml
+++ b/app/views/index/global.phtml
@@ -1,11 +1,6 @@
<?php
$this->partial('nav_menu');
- flush();
- if (isset($this->callbackBeforeEntries)) {
- call_user_func($this->callbackBeforeEntries, $this);
- }
-
$class = '';
if (FreshRSS_Context::$user_conf->hide_read_feeds &&
FreshRSS_Context::isStateEnabled(FreshRSS_Entry::STATE_NOT_READ) &&
diff --git a/app/views/index/normal.phtml b/app/views/index/normal.phtml
index d5ae8e2f9..ac2ea812d 100644
--- a/app/views/index/normal.phtml
+++ b/app/views/index/normal.phtml
@@ -3,11 +3,6 @@
$this->partial('aside_feed');
$this->partial('nav_menu');
-flush();
-if (isset($this->callbackBeforeEntries)) {
- call_user_func($this->callbackBeforeEntries, $this);
-}
-
if (!empty($this->entries)) {
$display_today = true;
$display_yesterday = true;
diff --git a/app/views/index/reader.phtml b/app/views/index/reader.phtml
index fbe37d2e3..129fae937 100644
--- a/app/views/index/reader.phtml
+++ b/app/views/index/reader.phtml
@@ -2,11 +2,6 @@
$this->partial('aside_feed');
$this->partial('nav_menu');
-flush();
-if (isset($this->callbackBeforeEntries)) {
- call_user_func($this->callbackBeforeEntries, $this);
-}
-
if (!empty($this->entries)) {
$lazyload = FreshRSS_Context::$user_conf->lazyload;
$content_width = FreshRSS_Context::$user_conf->content_width;