diff options
| author | Andrew Dolgov <fox@fakecake.org> | 2025-04-14 12:59:00 +0300 |
|---|---|---|
| committer | Andrew Dolgov <fox@fakecake.org> | 2025-04-14 12:59:00 +0300 |
| commit | b154bc7a10e46dc9fa0406996507c4fd410366da (patch) | |
| tree | d6c7a5b4e9a98bb263d7f5fbea2b7bc1918ff47f /include/functions.php | |
| parent | 60606aaa97f80e9a4456816ff060eb499faf8b73 (diff) | |
initial attempt to remove mysql-related stuff from tt-rss
Diffstat (limited to 'include/functions.php')
| -rw-r--r-- | include/functions.php | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/include/functions.php b/include/functions.php index 77033f474..69e5e746e 100644 --- a/include/functions.php +++ b/include/functions.php @@ -26,11 +26,7 @@ require_once "autoload.php"; - if (Config::get(Config::DB_TYPE) == "pgsql") { - define('SUBSTRING_FOR_DATE', 'SUBSTRING_FOR_DATE'); - } else { - define('SUBSTRING_FOR_DATE', 'SUBSTRING'); - } + define('SUBSTRING_FOR_DATE', 'SUBSTRING_FOR_DATE'); /** * @deprecated by Prefs::get() |