Update Events.php

This commit is contained in:
Daniil Gentili 2018-11-10 20:56:38 +01:00 committed by GitHub
parent 4c1096a49a
commit 91a3b029b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -40,6 +40,10 @@ trait Events
$this->settings['updates']['callback'] = [$this, 'event_update_handler']; $this->settings['updates']['callback'] = [$this, 'event_update_handler'];
$this->settings['updates']['handle_updates'] = true; $this->settings['updates']['handle_updates'] = true;
} }
public function getEventHandler()
{
return $this->event_handler_instance;
}
public function event_update_handler($update) public function event_update_handler($update)
{ {