diff options
| author | 2024-08-16 22:40:56 +0200 | |
|---|---|---|
| committer | 2024-08-16 22:40:56 +0200 | |
| commit | c480e571619c2e68000d85b866ef23c89ad83ddf (patch) | |
| tree | 00fb41a714775cd111eb0d72161e691a81520284 /lib/lib_rss.php | |
| parent | 1fad724b951d1f804be03362a855f9d50ab4acc9 (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.php | 6 |
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); } /** |
