1
0

Merged branch 'master' into 2.0 (compatibility fixes)

This commit is contained in:
Grischa Brockhaus
2012-06-13 15:12:35 +02:00
18 changed files with 25 additions and 25 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;