mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 10:25:56 +00:00
wip: initial for config object
This commit is contained in:
@@ -530,7 +530,7 @@ class Af_RedditImgur extends Plugin {
|
||||
$entry_guid = $article["guid_hashed"];
|
||||
$owner_uid = $article["owner_uid"];
|
||||
|
||||
if (DB_TYPE == "pgsql") {
|
||||
if (Config::get(Config::DB_TYPE) == "pgsql") {
|
||||
$interval_qpart = "date_entered < NOW() - INTERVAL '1 day'";
|
||||
} else {
|
||||
$interval_qpart = "date_entered < DATE_SUB(NOW(), INTERVAL 1 DAY)";
|
||||
|
||||
Reference in New Issue
Block a user