diff options
Diffstat (limited to 'app/Services/ExportService.php')
| -rw-r--r-- | app/Services/ExportService.php | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/app/Services/ExportService.php b/app/Services/ExportService.php index a80f20ce4..25e217968 100644 --- a/app/Services/ExportService.php +++ b/app/Services/ExportService.php @@ -47,14 +47,7 @@ class FreshRSS_Export_Service { $view = new FreshRSS_View(); $day = date('Y-m-d'); - $categories = []; - - foreach ($this->category_dao->listCategories() as $key => $category) { - $categories[$key]['name'] = $category->name(); - $categories[$key]['feeds'] = $this->feed_dao->listByCategory($category->id()); - } - - $view->categories = $categories; + $view->categories = $this->category_dao->listCategories(true); return [ "feeds_{$day}.opml.xml", |
