fixing bug in event class.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
This commit is contained in:
parent
cb8dbddccc
commit
6535fca31c
|
|
@ -42,4 +42,4 @@
|
||||||
// --------------------------------------------------------------
|
// --------------------------------------------------------------
|
||||||
// Start the default bundle.
|
// Start the default bundle.
|
||||||
// --------------------------------------------------------------
|
// --------------------------------------------------------------
|
||||||
Bundle::start(DEFAULT_BUNDLE);
|
Laravel\Bundle::start(DEFAULT_BUNDLE);
|
||||||
|
|
@ -62,7 +62,7 @@ public static function override($event, $callback)
|
||||||
*/
|
*/
|
||||||
public static function clear($event)
|
public static function clear($event)
|
||||||
{
|
{
|
||||||
static::$events[$event] = array();
|
unset(static::$events[$event]);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue