summaryrefslogtreecommitdiffstats
path: root/lib/Command
diff options
context:
space:
mode:
authorSean Molenaar <sean@seanmolenaar.eu>2020-09-20 22:03:05 +0200
committerBenjamin Brahmer <info@b-brahmer.de>2020-09-25 19:18:04 +0200
commit60ab4941cc7e6ede095e9e4aee3c2bf9a5c3bff6 (patch)
treebaf0b07dd1c545efeb59437af46a99f4d9f69425 /lib/Command
parent2c8b4fa019749113658b9ed8cae211b679e4cbc0 (diff)
Move to nextcloud config and update phpunit
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
Diffstat (limited to 'lib/Command')
-rw-r--r--lib/Command/ShowFeed.php10
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/Command/ShowFeed.php b/lib/Command/ShowFeed.php
index 572b68e26..878b71123 100644
--- a/lib/Command/ShowFeed.php
+++ b/lib/Command/ShowFeed.php
@@ -13,7 +13,15 @@ namespace OCA\News\Command;
use FeedIo\FeedIo;
use Favicon\Favicon;
+use HTMLPurifier;
+use OCA\News\Db\FeedMapper;
+use OCA\News\Db\ItemMapper;
use OCA\News\Fetcher\Fetcher;
+use OCA\News\Service\FeedService;
+use OCA\News\Utility\Time;
+use OCP\IConfig;
+use OCP\IL10N;
+use OCP\ILogger;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Input\InputArgument;
@@ -38,8 +46,8 @@ class ShowFeed extends Command
*/
public function __construct(Fetcher $feedFetcher)
{
- $this->feedFetcher = $feedFetcher;
parent::__construct();
+ $this->feedFetcher = $feedFetcher;
}
protected function configure()