summaryrefslogtreecommitdiff
path: root/inc/FeedParser.php
diff options
context:
space:
mode:
authorMichael Hamann <michael@content-space.de>2011-06-26 14:59:32 +0200
committerMichael Hamann <michael@content-space.de>2011-06-26 14:59:32 +0200
commit8c02f82246c8a991d795b4423f6d831e9e2f8807 (patch)
tree7019133ae4d0788b991084bed994fc833c33d545 /inc/FeedParser.php
parentc949174a2e8c324e3e463a9d10e9e6dc07b0ba9e (diff)
downloadrpg-8c02f82246c8a991d795b4423f6d831e9e2f8807.tar.gz
rpg-8c02f82246c8a991d795b4423f6d831e9e2f8807.tar.bz2
Ignore warnings in the constructor of SimplePie_File
This ignores warnings because of the (intentionally) missing url parameter for the constructor of SimplePie_File.
Diffstat (limited to 'inc/FeedParser.php')
-rw-r--r--inc/FeedParser.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/FeedParser.php b/inc/FeedParser.php
index b98350da7..235bed46e 100644
--- a/inc/FeedParser.php
+++ b/inc/FeedParser.php
@@ -49,7 +49,7 @@ class FeedParser_File extends SimplePie_File {
*/
function FeedParser_File($url, $timeout=10, $redirects=5,
$headers=null, $useragent=null, $force_fsockopen=false) {
- parent::__construct();
+ @parent::__construct();
$this->http = new DokuHTTPClient();
$this->success = $this->http->sendRequest($url);