From b16139af2d25271bee04dfc7d6d72779f4bda2cf Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Mon, 15 Oct 2007 14:12:48 +0200 Subject: 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 --- inc/FeedParser.php | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'inc/FeedParser.php') 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); + } } /** -- cgit v1.2.3