diff options
author | Klap-in <klapinklapin@gmail.com> | 2013-07-14 13:35:06 +0200 |
---|---|---|
committer | Klap-in <klapinklapin@gmail.com> | 2013-07-14 13:35:06 +0200 |
commit | 33c3b3817b00aa9384760813643fac0e33daaaff (patch) | |
tree | 481c880b00a32ba5887834b52a17248bac8bfc7c /inc/FeedParser.php | |
parent | 040f0e135c37c5b544f16277ff69205369df5f1f (diff) | |
parent | fbd8067eeeb9f424981aad8b283e17f734c738c3 (diff) | |
download | rpg-33c3b3817b00aa9384760813643fac0e33daaaff.tar.gz rpg-33c3b3817b00aa9384760813643fac0e33daaaff.tar.bz2 |
merge master in branch
Diffstat (limited to 'inc/FeedParser.php')
-rw-r--r-- | inc/FeedParser.php | 8 |
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); |