1
0

Compatibility fixes.

This commit is contained in:
Grischa Brockhaus
2012-06-13 14:24:45 +02:00
parent 0407a731de
commit 1f9630b394
17 changed files with 24 additions and 24 deletions

View File

@ -88,7 +88,7 @@ class serendipity_event_nl2br extends serendipity_event
serendipity_plugin_api::hook_event('backend_cache_entries', $this->title);
}
function uninstall() {
function uninstall(&$propbag) {
serendipity_plugin_api::hook_event('backend_cache_purge', $this->title);
serendipity_plugin_api::hook_event('backend_cache_entries', $this->title);
}
@ -156,7 +156,7 @@ class serendipity_event_nl2br extends serendipity_event
return preg_replace('~\001(\d+)~e', '$_buf[$1]', $text);
}
function event_hook($event, &$bag, &$eventData) {
function event_hook($event, &$bag, &$eventData, $addData = null) {
global $serendipity;
static $markup = null;
static $isolate = null;