summaryrefslogtreecommitdiff
path: root/include/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <fox@fakecake.org>2025-04-28 04:48:01 +0000
committerAndrew Dolgov <fox@fakecake.org>2025-04-28 04:48:01 +0000
commit4cb8a84df46d46bc325b6638defbdc4dc34151ed (patch)
tree77acdf9b8271568a53e636fc4e84d4bda1404f82 /include/functions.php
parent0e4b8bd6538f3062d34a3a06ab5531c70042de78 (diff)
parentf80187e05f12c2fe9c487bff13058b207833b227 (diff)
Merge branch 'rip-mysql' into 'master'
initial attempt to remove mysql-related stuff from tt-rss See merge request tt-rss/tt-rss!120
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()