summaryrefslogtreecommitdiff
path: root/app/Models
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2014-07-03 22:11:25 +0200
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2014-07-03 22:11:25 +0200
commit2501bb337e75c41f97570f25775e20131faf2f2a (patch)
treeb87abb05d74925dd442febea67b14f213f61afec /app/Models
parentd6f414108667f32fe2b480adeb7ec9c218db2f4a (diff)
Preparation #2 for SQLite
https://github.com/marienfressinaud/FreshRSS/issues/100
Diffstat (limited to 'app/Models')
-rw-r--r--app/Models/EntryDAOSQLite.php (renamed from app/Models/EntryDAO_SQLite.php)2
-rw-r--r--app/Models/Factory.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/Models/EntryDAO_SQLite.php b/app/Models/EntryDAOSQLite.php
index f148f3c63..45d3a3ea9 100644
--- a/app/Models/EntryDAO_SQLite.php
+++ b/app/Models/EntryDAOSQLite.php
@@ -1,6 +1,6 @@
<?php
-class FreshRSS_EntryDAO_SQLite extends FreshRSS_EntryDAO {
+class FreshRSS_EntryDAOSQLite extends FreshRSS_EntryDAO {
public function markRead($ids, $is_read = true) {
if (is_array($ids)) { //Many IDs at once
diff --git a/app/Models/Factory.php b/app/Models/Factory.php
index bea89c114..3ef68c41d 100644
--- a/app/Models/Factory.php
+++ b/app/Models/Factory.php
@@ -5,7 +5,7 @@ class FreshRSS_Factory {
public static function createEntryDao() {
$db = Minz_Configuration::dataBase();
if ($db['type'] === 'sqlite') {
- return new FreshRSS_EntryDAO_SQLite();
+ return new FreshRSS_EntryDAOSQLite();
} else {
return new FreshRSS_EntryDAO();
}