diff options
| author | 2017-03-26 14:07:06 +0200 | |
|---|---|---|
| committer | 2017-03-26 14:07:06 +0200 | |
| commit | e956aee53d561fbdc11a78a50ad7cc041108e5b5 (patch) | |
| tree | 2ebad34d81f49f3ac3cbc1568e13e60f9659d55a /app/Models/Factory.php | |
| parent | a20fd9db9f0ed0e27c65671bb10402ced10587b1 (diff) | |
More defered insertion. New SQL index
New index entry_feed_read_index
TODO: Auto add this index to existing version
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) { |
