aboutsummaryrefslogtreecommitdiff
path: root/app/Models/Factory.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2016-11-06 11:24:51 +0100
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2016-11-06 11:24:51 +0100
commit5aeaed897119ff1af4555ec93662d68c2252ba71 (patch)
treecc4aa19fca0be983b5b92eb3a40cebda8ba56440 /app/Models/Factory.php
parentdde719060afeb23f9092702f538eda16079d8ce3 (diff)
PostgreSQL fix updateCachedValues
https://github.com/FreshRSS/FreshRSS/issues/1360
Diffstat (limited to 'app/Models/Factory.php')
-rw-r--r--app/Models/Factory.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/Models/Factory.php b/app/Models/Factory.php
index 764987c46..b12f0cef9 100644
--- a/app/Models/Factory.php
+++ b/app/Models/Factory.php
@@ -7,6 +7,8 @@ class FreshRSS_Factory {
switch ($conf->db['type']) {
case 'sqlite':
return new FreshRSS_FeedDAOSQLite($username);
+ case 'pgsql':
+ return new FreshRSS_FeedDAOSQLite($username);
default:
return new FreshRSS_FeedDAO($username);
}