summaryrefslogtreecommitdiff
path: root/inc/FeedParser.php
diff options
context:
space:
mode:
authorKlap-in <klapinklapin@gmail.com>2013-07-14 13:35:06 +0200
committerKlap-in <klapinklapin@gmail.com>2013-07-14 13:35:06 +0200
commit33c3b3817b00aa9384760813643fac0e33daaaff (patch)
tree481c880b00a32ba5887834b52a17248bac8bfc7c /inc/FeedParser.php
parent040f0e135c37c5b544f16277ff69205369df5f1f (diff)
parentfbd8067eeeb9f424981aad8b283e17f734c738c3 (diff)
downloadrpg-33c3b3817b00aa9384760813643fac0e33daaaff.tar.gz
rpg-33c3b3817b00aa9384760813643fac0e33daaaff.tar.bz2
merge master in branch
Diffstat (limited to 'inc/FeedParser.php')
-rw-r--r--inc/FeedParser.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/inc/FeedParser.php b/inc/FeedParser.php
index e5f1fb636..96d32e83f 100644
--- a/inc/FeedParser.php
+++ b/inc/FeedParser.php
@@ -15,8 +15,8 @@ class FeedParser extends SimplePie {
/**
* Constructor. Set some defaults
*/
- function FeedParser(){
- $this->SimplePie();
+ function __construct(){
+ parent::__construct();
$this->enable_cache(false);
$this->set_file_class('FeedParser_File');
}
@@ -47,8 +47,8 @@ class FeedParser_File extends SimplePie_File {
*
* We ignore all given parameters - they are set in DokuHTTPClient
*/
- function FeedParser_File($url, $timeout=10, $redirects=5,
- $headers=null, $useragent=null, $force_fsockopen=false) {
+ function __construct($url, $timeout=10, $redirects=5,
+ $headers=null, $useragent=null, $force_fsockopen=false) {
$this->http = new DokuHTTPClient();
$this->success = $this->http->sendRequest($url);