summaryrefslogtreecommitdiffstats
path: root/utility
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2013-06-22 14:49:12 +0200
committerBernhard Posselt <nukeawhale@gmail.com>2013-06-22 14:49:17 +0200
commit984f0270e2e2310a8ec4c4209e00fa41fe7dbbe0 (patch)
treec92f1d461e9a3f3a923dfe0d9e37781da5bfbf4f /utility
parent5cd7ae154a9752b7e960290439882ac634063ce2 (diff)
spaces to tabs
Diffstat (limited to 'utility')
-rw-r--r--utility/feedfetcher.php20
1 files changed, 10 insertions, 10 deletions
diff --git a/utility/feedfetcher.php b/utility/feedfetcher.php
index 2ab671482..016aae8de 100644
--- a/utility/feedfetcher.php
+++ b/utility/feedfetcher.php
@@ -45,12 +45,12 @@ class FeedFetcher implements IFeedFetcher {
private $purifier;
public function __construct(API $api,
- SimplePieAPIFactory $simplePieFactory,
- FaviconFetcher $faviconFetcher,
- TimeFactory $time,
- $cacheDirectory,
- $cacheDuration,
- $purifier){
+ SimplePieAPIFactory $simplePieFactory,
+ FaviconFetcher $faviconFetcher,
+ TimeFactory $time,
+ $cacheDirectory,
+ $cacheDuration,
+ $purifier){
$this->api = $api;
$this->cacheDirectory = $cacheDirectory;
$this->cacheDuration = $cacheDuration;
@@ -111,11 +111,11 @@ class FeedFetcher implements IFeedFetcher {
$item = new Item();
$item->setStatus(0);
$item->setUnread();
- $item->setUrl(html_entity_decode($simplePieItem->get_permalink(),
- ENT_COMPAT, 'UTF-8'));
+ $item->setUrl(html_entity_decode($simplePieItem->get_permalink(),
+ ENT_COMPAT, 'UTF-8'));
// unescape content because angularjs helps against XSS
- $item->setTitle(html_entity_decode($simplePieItem->get_title(),
- ENT_COMPAT, 'UTF-8'));
+ $item->setTitle(html_entity_decode($simplePieItem->get_title(),
+ ENT_COMPAT, 'UTF-8'));
$guid = $simplePieItem->get_id();
$item->setGuid($guid);
$item->setGuidHash(md5($guid));