改名
This commit is contained in:
+1
-1
@@ -193,7 +193,7 @@ class Event extends BaseObject
|
|||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
if (!$this->exists($name)) {
|
if (!$this->exists($name)) {
|
||||||
return false;
|
return true;
|
||||||
}
|
}
|
||||||
if (!empty($handler) && $this->exists($name, $handler)) {
|
if (!empty($handler) && $this->exists($name, $handler)) {
|
||||||
$events = [$this->get($name, $handler)];
|
$events = [$this->get($name, $handler)];
|
||||||
|
|||||||
Reference in New Issue
Block a user