diff options
| author | 2017-04-01 11:32:24 +0200 | |
|---|---|---|
| committer | 2017-04-01 11:32:24 +0200 | |
| commit | f98cd52a02eb1e2d17b46ef9fddf327b0ebd55e2 (patch) | |
| tree | 85b8e7a60922781ea898c57f649e97b3640f3d31 /app/Models/Factory.php | |
| parent | f2b4bfc67da9eba8ca45a02860e6f6a58a13d927 (diff) | |
| parent | 8acdf273b2f832ed07bbc5f630c068c9fe73cbe0 (diff) | |
Merge pull request #1470 from Alkarex/defered-insertion
Implementation of defered insertion
Diffstat (limited to 'app/Models/Factory.php')
| -rw-r--r-- | app/Models/Factory.php | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/app/Models/Factory.php b/app/Models/Factory.php index 6502c38b7..dfccc883e 100644 --- a/app/Models/Factory.php +++ b/app/Models/Factory.php @@ -3,14 +3,7 @@ class FreshRSS_Factory { public static function createFeedDao($username = null) { - $conf = Minz_Configuration::get('system'); - switch ($conf->db['type']) { - case 'sqlite': - case 'pgsql': - return new FreshRSS_FeedDAOSQLite($username); - default: - return new FreshRSS_FeedDAO($username); - } + return new FreshRSS_FeedDAO($username); } public static function createEntryDao($username = null) { |
