aboutsummaryrefslogtreecommitdiff
path: root/app/Models/EntryDAO.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Models/EntryDAO.php')
-rw-r--r--app/Models/EntryDAO.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/Models/EntryDAO.php b/app/Models/EntryDAO.php
index f6c327364..f9dc9fd82 100644
--- a/app/Models/EntryDAO.php
+++ b/app/Models/EntryDAO.php
@@ -493,7 +493,7 @@ SQL;
?FreshRSS_BooleanSearch $filters = null, int $state = 0, bool $is_read = true) {
FreshRSS_UserDAO::touch();
if ($idMax == '0') {
- $idMax = time() . '000000';
+ $idMax = uTimeString();
Minz_Log::debug('Calling markReadEntries(0) is deprecated!');
}
@@ -544,7 +544,7 @@ SQL;
public function markReadCat(int $id, string $idMax = '0', ?FreshRSS_BooleanSearch $filters = null, int $state = 0, bool $is_read = true): int|false {
FreshRSS_UserDAO::touch();
if ($idMax == '0') {
- $idMax = time() . '000000';
+ $idMax = uTimeString();
Minz_Log::debug('Calling markReadCat(0) is deprecated!');
}
@@ -585,7 +585,7 @@ SQL;
public function markReadFeed(int $id_feed, string $idMax = '0', ?FreshRSS_BooleanSearch $filters = null, int $state = 0, bool $is_read = true): int|false {
FreshRSS_UserDAO::touch();
if ($idMax == '0') {
- $idMax = time() . '000000';
+ $idMax = uTimeString();
Minz_Log::debug('Calling markReadFeed(0) is deprecated!');
}
$hadTransaction = $this->pdo->inTransaction();
@@ -640,7 +640,7 @@ SQL;
int $state = 0, bool $is_read = true) {
FreshRSS_UserDAO::touch();
if ($idMax == '0') {
- $idMax = time() . '000000';
+ $idMax = uTimeString();
Minz_Log::debug('Calling markReadTag(0) is deprecated!');
}