Compatibility fixes.
This commit is contained in:
@ -55,7 +55,7 @@ class serendipity_event_emoticate 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);
|
||||
}
|
||||
@ -151,7 +151,7 @@ class serendipity_event_emoticate extends serendipity_event
|
||||
}
|
||||
|
||||
|
||||
function event_hook($event, &$bag, &$eventData) {
|
||||
function event_hook($event, &$bag, &$eventData, $addData = null) {
|
||||
global $serendipity;
|
||||
$hooks = &$bag->get('event_hooks');
|
||||
|
||||
|
Reference in New Issue
Block a user