summaryrefslogtreecommitdiffstats
path: root/subscribe.php
diff options
context:
space:
mode:
authorAlessandro Cosentino <cosenal@gmail.com>2012-08-18 03:16:40 -0400
committerAlessandro Cosentino <cosenal@gmail.com>2012-08-18 03:16:40 -0400
commit41c310c5fc3790d7e5f6cb4862f5b09537002ffb (patch)
tree396019cb69168fe99be8859f56a5a41f7cc95cf3 /subscribe.php
parent455e8380f33bc7b4d7658e2ea153aae8a250b318 (diff)
perform only a slim fetch in some cases
Diffstat (limited to 'subscribe.php')
-rw-r--r--subscribe.php4
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 {