ソースを参照

PostgreSQL fix updateCachedValues

https://github.com/FreshRSS/FreshRSS/issues/1360
Alexandre Alapetite 9 年 前
コミット
5aeaed8971
1 ファイル変更2 行追加0 行削除
  1. 2 0
      app/Models/Factory.php

+ 2 - 0
app/Models/Factory.php

@@ -7,6 +7,8 @@ class FreshRSS_Factory {
 		switch ($conf->db['type']) {
 		switch ($conf->db['type']) {
 			case 'sqlite':
 			case 'sqlite':
 				return new FreshRSS_FeedDAOSQLite($username);
 				return new FreshRSS_FeedDAOSQLite($username);
+			case 'pgsql':
+				return new FreshRSS_FeedDAOSQLite($username);
 			default:
 			default:
 				return new FreshRSS_FeedDAO($username);
 				return new FreshRSS_FeedDAO($username);
 		}
 		}