From efc06d8dec32bc9a8259fcd80faafa8eddccfbbf Mon Sep 17 00:00:00 2001 From: Garvin Hicking Date: Wed, 14 May 2014 14:39:15 +0200 Subject: [PATCH] Due to the PEAR HTTP_Request2 requirement this plugin no longer works with serendipity 1.x. @mattsches - maybe you can add a fallback and check for $serendipity['version'], and if its lower than 2, you could use the "old" style PEAR HTTP_Request method? --- serendipity_event_lsrstopper/serendipity_event_lsrstopper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/serendipity_event_lsrstopper/serendipity_event_lsrstopper.php b/serendipity_event_lsrstopper/serendipity_event_lsrstopper.php index abbd8348..b0ed3b9f 100644 --- a/serendipity_event_lsrstopper/serendipity_event_lsrstopper.php +++ b/serendipity_event_lsrstopper/serendipity_event_lsrstopper.php @@ -45,7 +45,7 @@ class serendipity_event_lsrstopper extends serendipity_event $propbag->add('author', 'Matthias Gutjahr'); $propbag->add('version', '0.3'); $propbag->add('requirements', array( - 'serendipity' => '1.6', + 'serendipity' => '2.0', 'smarty' => '2.6.7', 'php' => '5.2' ));