summaryrefslogtreecommitdiff
path: root/include/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <fox@fakecake.org>2025-04-14 12:59:00 +0300
committerAndrew Dolgov <fox@fakecake.org>2025-04-14 12:59:00 +0300
commitb154bc7a10e46dc9fa0406996507c4fd410366da (patch)
treed6c7a5b4e9a98bb263d7f5fbea2b7bc1918ff47f /include/functions.php
parent60606aaa97f80e9a4456816ff060eb499faf8b73 (diff)
initial attempt to remove mysql-related stuff from tt-rss
Diffstat (limited to 'include/functions.php')
-rw-r--r--include/functions.php6
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()