summaryrefslogtreecommitdiff
path: root/inc/FeedParser.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/FeedParser.php')
-rw-r--r--inc/FeedParser.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/inc/FeedParser.php b/inc/FeedParser.php
index f2aeb4e7b..7c0071af0 100644
--- a/inc/FeedParser.php
+++ b/inc/FeedParser.php
@@ -25,9 +25,11 @@ class FeedParser extends SimplePie {
/**
* Fetch an URL using our own HTTPClient
+ *
+ * Overrides SimplePie's own method
*/
- function getFile($url){
+ function get_file($url){
$http = new DokuHTTPClient();
- return $http->get($url);
+ return $http->get($url,true);
}
}