diff options
| author | 2014-07-03 22:48:29 +0200 | |
|---|---|---|
| committer | 2014-07-03 22:48:29 +0200 | |
| commit | b34f59e85aa851b82210fdc50074918034f960db (patch) | |
| tree | ab7dcdb13d84454c8a6848a8ea91f293f4d3a1d7 /app/Models/Category.php | |
| parent | 2501bb337e75c41f97570f25775e20131faf2f2a (diff) | |
Preparation #3 for SQLite
https://github.com/marienfressinaud/FreshRSS/issues/100
Diffstat (limited to 'app/Models/Category.php')
| -rw-r--r-- | app/Models/Category.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Models/Category.php b/app/Models/Category.php index 328bae799..0a0dbd3ca 100644 --- a/app/Models/Category.php +++ b/app/Models/Category.php @@ -44,7 +44,7 @@ class FreshRSS_Category extends Minz_Model { } public function feeds () { if ($this->feeds === null) { - $feedDAO = new FreshRSS_FeedDAO (); + $feedDAO = FreshRSS_Factory::createFeedDao(); $this->feeds = $feedDAO->listByCategory ($this->id ()); $this->nbFeed = 0; $this->nbNotRead = 0; |
