Parcourir la source

PostgreSQL fix updateCachedValues

https://github.com/FreshRSS/FreshRSS/issues/1360
Alexandre Alapetite il y a 9 ans
Parent
commit
5aeaed8971
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2 0
      app/Models/Factory.php

+ 2 - 0
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);
 		}