diff options
Diffstat (limited to 'app')
| -rw-r--r-- | app/Controllers/indexController.php | 2 | ||||
| -rw-r--r-- | app/Models/EntryDAO.php | 8 | ||||
| -rw-r--r-- | app/Models/EntryDAOSQLite.php | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/app/Controllers/indexController.php b/app/Controllers/indexController.php index 1d355ca84..1f49e03ee 100644 --- a/app/Controllers/indexController.php +++ b/app/Controllers/indexController.php @@ -63,7 +63,7 @@ class FreshRSS_index_Controller extends FreshRSS_ActionController { FreshRSS_View::prependTitle($title . ' ยท '); if (FreshRSS_Context::$id_max === '0') { - FreshRSS_Context::$id_max = time() . '000000'; + FreshRSS_Context::$id_max = uTimeString(); } $this->view->callbackBeforeFeeds = static function (FreshRSS_View $view) { 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!'); } diff --git a/app/Models/EntryDAOSQLite.php b/app/Models/EntryDAOSQLite.php index 99e216e53..c2470f0d6 100644 --- a/app/Models/EntryDAOSQLite.php +++ b/app/Models/EntryDAOSQLite.php @@ -155,7 +155,7 @@ SQL; public function markReadTag(int $id = 0, 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 markReadTag(0) is deprecated!'); } |
