From 8c02f82246c8a991d795b4423f6d831e9e2f8807 Mon Sep 17 00:00:00 2001 From: Michael Hamann Date: Sun, 26 Jun 2011 14:59:32 +0200 Subject: Ignore warnings in the constructor of SimplePie_File This ignores warnings because of the (intentionally) missing url parameter for the constructor of SimplePie_File. --- inc/FeedParser.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'inc') 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); -- cgit v1.2.3