Browse Source

Merge pull request #1361 from Alkarex/PostgreSQL-updateCachedValues

PostgreSQL fix updateCachedValues
Alexandre Alapetite 9 years ago
parent
commit
e27e5809f9
1 changed files with 1 additions and 0 deletions
  1. 1 0
      app/Models/Factory.php

+ 1 - 0
app/Models/Factory.php

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