Просмотр исходного кода

Merge pull request #1361 from Alkarex/PostgreSQL-updateCachedValues

PostgreSQL fix updateCachedValues
Alexandre Alapetite 9 лет назад
Родитель
Сommit
e27e5809f9
1 измененных файлов с 1 добавлено и 0 удалено
  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');
 		switch ($conf->db['type']) {
 			case 'sqlite':
+			case 'pgsql':
 				return new FreshRSS_FeedDAOSQLite($username);
 			default:
 				return new FreshRSS_FeedDAO($username);