fixing bug in event class.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
This commit is contained in:
@@ -42,4 +42,4 @@ require path('sys').'core.php';
|
|||||||
// --------------------------------------------------------------
|
// --------------------------------------------------------------
|
||||||
// Start the default bundle.
|
// Start the default bundle.
|
||||||
// --------------------------------------------------------------
|
// --------------------------------------------------------------
|
||||||
Bundle::start(DEFAULT_BUNDLE);
|
Laravel\Bundle::start(DEFAULT_BUNDLE);
|
||||||
@@ -62,7 +62,7 @@ class Event {
|
|||||||
*/
|
*/
|
||||||
public static function clear($event)
|
public static function clear($event)
|
||||||
{
|
{
|
||||||
static::$events[$event] = array();
|
unset(static::$events[$event]);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user