改名
This commit is contained in:
@@ -20,16 +20,15 @@ class OnShutdown extends Callback
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @param Server $server
|
* @param Server $server
|
||||||
* @throws ComponentException
|
|
||||||
* @throws Exception
|
* @throws Exception
|
||||||
*/
|
*/
|
||||||
public function onHandler(Server $server)
|
public function onHandler(Server $server)
|
||||||
{
|
{
|
||||||
$this->debug('server shutdown~');
|
$this->debug('server shutdown~');
|
||||||
|
|
||||||
$this->system_mail('server shutdown~');
|
// $this->system_mail('server shutdown~');
|
||||||
$event = Snowflake::app()->getEvent();
|
// $event = Snowflake::app()->getEvent();
|
||||||
$event->trigger(Event::SERVER_SHUTDOWN);
|
// $event->trigger(Event::SERVER_SHUTDOWN);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user