diff options
author | Alessandro Cosentino <cosenal@gmail.com> | 2012-08-18 03:16:40 -0400 |
---|---|---|
committer | Alessandro Cosentino <cosenal@gmail.com> | 2012-08-18 03:16:40 -0400 |
commit | 41c310c5fc3790d7e5f6cb4862f5b09537002ffb (patch) | |
tree | 396019cb69168fe99be8859f56a5a41f7cc95cf3 /subscribe.php | |
parent | 455e8380f33bc7b4d7658e2ea153aae8a250b318 (diff) |
perform only a slim fetch in some cases
Diffstat (limited to 'subscribe.php')
-rw-r--r-- | subscribe.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/subscribe.php b/subscribe.php index 175dcdf5e..d51f233d1 100644 --- a/subscribe.php +++ b/subscribe.php @@ -20,7 +20,7 @@ $l = OC_L10N::get('news'); if ($feedid === null) { - $feed = OCA\News\Utils::fetch($feedurl); + $feed = OCA\News\Utils::slimFetch($feedurl); if ($feed !== null) { $feedid = $feedmapper->save($feed, 0); //adds in the root folder @@ -29,7 +29,7 @@ if($feed === null || !$feedid) { echo $l->t('An error occurred'); } else { - echo $l->t('Nice! You have subcribed to ') . $feed->getTitle() . '.'; + echo $l->t('Nice! You have subscribed to ') . $feed->getTitle() . '.'; } } else { |