aboutsummaryrefslogtreecommitdiff
path: root/lib/lib_rss.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2024-08-16 22:40:56 +0200
committerGravatar GitHub <noreply@github.com> 2024-08-16 22:40:56 +0200
commitc480e571619c2e68000d85b866ef23c89ad83ddf (patch)
tree00fb41a714775cd111eb0d72161e691a81520284 /lib/lib_rss.php
parent1fad724b951d1f804be03362a855f9d50ab4acc9 (diff)
Fix HTTP cache of user queries (#6718)
fix https://github.com/FreshRSS/FreshRSS/issues/6717
Diffstat (limited to 'lib/lib_rss.php')
-rw-r--r--lib/lib_rss.php6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/lib_rss.php b/lib/lib_rss.php
index 3e01fe7dd..d066bd254 100644
--- a/lib/lib_rss.php
+++ b/lib/lib_rss.php
@@ -631,11 +631,7 @@ function invalidateHttpCache(string $username = ''): bool {
Minz_Session::_param('touch', uTimeString());
$username = Minz_User::name() ?? Minz_User::INTERNAL_USER;
}
- $ok = @touch(DATA_PATH . '/users/' . $username . '/' . LOG_FILENAME);
- //if (!$ok) {
- //TODO: Display notification error on front-end
- //}
- return $ok;
+ return FreshRSS_UserDAO::ctouch($username);
}
/**