diff options
author | Andreas Gohr <andi@splitbrain.org> | 2007-10-15 14:12:48 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2007-10-15 14:12:48 +0200 |
commit | b16139af2d25271bee04dfc7d6d72779f4bda2cf (patch) | |
tree | 25e24f39c02204368f353505c6ae4f0763cdecb1 /inc | |
parent | b6344591177f30487593e75a56945d9ddd3d907b (diff) | |
download | rpg-b16139af2d25271bee04dfc7d6d72779f4bda2cf.tar.gz rpg-b16139af2d25271bee04dfc7d6d72779f4bda2cf.tar.bz2 |
tiny compatibility fix for FeedParser
This should make older plugins working with a SimplePie Beta wor with Dokuwiki's
current SimplePie version
darcs-hash:20071015121248-7ad00-08a8be1f16649626cada3135e9d18c872689eed8.gz
Diffstat (limited to 'inc')
-rw-r--r-- | inc/FeedParser.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/inc/FeedParser.php b/inc/FeedParser.php index 386d7c3f4..f19dcad09 100644 --- a/inc/FeedParser.php +++ b/inc/FeedParser.php @@ -23,6 +23,13 @@ class FeedParser extends SimplePie { $this->enable_cache(false); $this->set_file_class('FeedParser_File'); } + + /** + * Backward compatibility for older plugins + */ + function feed_url($url){ + $this->set_feed_url($url); + } } /** |