diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-04-08 18:50:10 +0200 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-04-08 18:50:10 +0200 |
commit | 31ae116fe4ab5cac3d2a85069adae2d211ecc846 (patch) | |
tree | 10c02f09fb0086b7553091fb73c299d9b294385d /articleenhancer | |
parent | 83e8691308971680977b6e29d7c1fbd790e4eb16 (diff) |
migrated database, utility, bootstrap from appframework
Diffstat (limited to 'articleenhancer')
-rw-r--r-- | articleenhancer/xpatharticleenhancer.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/articleenhancer/xpatharticleenhancer.php b/articleenhancer/xpatharticleenhancer.php index 6cc11eb65..99aa61177 100644 --- a/articleenhancer/xpatharticleenhancer.php +++ b/articleenhancer/xpatharticleenhancer.php @@ -25,7 +25,7 @@ namespace OCA\News\ArticleEnhancer; -use \OCA\News\Utility\SimplePieFileFactory; +use \OCA\News\Utility\SimplePieAPIFactory; use \OCA\News\Db\Item; @@ -44,7 +44,7 @@ class XPathArticleEnhancer implements ArticleEnhancer { * page * @param int $maximumTimeout maximum timeout in seconds, defaults to 10 sec */ - public function __construct(SimplePieFileFactory $fileFactory, + public function __construct(SimplePieAPIFactory $fileFactory, array $regexXPathPair, $maximumTimeout=10){ $this->regexXPathPair = $regexXPathPair; $this->fileFactory = $fileFactory; |