From b154bc7a10e46dc9fa0406996507c4fd410366da Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 14 Apr 2025 12:59:00 +0300 Subject: initial attempt to remove mysql-related stuff from tt-rss --- include/functions.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'include/functions.php') 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() -- cgit v1.2.3-54-g00ecf