From 2c0798670be16169f154878d94725a4c4c5ad073 Mon Sep 17 00:00:00 2001 From: Thomas Hochstein Date: Sun, 6 Aug 2017 14:08:17 +0200 Subject: [PATCH] Fix function definition. (#68) The declaration of uninstall() didn't match serendipity_plugin::uninstall, making PHP spew warnings to the log. Signed-off-by: Thomas Hochstein --- serendipity_event_dejure/serendipity_event_dejure.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/serendipity_event_dejure/serendipity_event_dejure.php b/serendipity_event_dejure/serendipity_event_dejure.php index 8ac6283f..5395f00f 100644 --- a/serendipity_event_dejure/serendipity_event_dejure.php +++ b/serendipity_event_dejure/serendipity_event_dejure.php @@ -157,7 +157,7 @@ class serendipity_event_dejure extends serendipity_event $this->setupDB(); } - function uninstall() { + function uninstall(&$bag) { $this->dropDB(); }