From 6535fca31ca766e001db53f6cc28432d09ea62ee Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Tue, 6 Mar 2012 17:27:41 -0600 Subject: [PATCH] fixing bug in event class. Signed-off-by: Taylor Otwell --- laravel/cli/tasks/test/phpunit.php | 2 +- laravel/event.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/laravel/cli/tasks/test/phpunit.php b/laravel/cli/tasks/test/phpunit.php index 4db1ea94..67644838 100644 --- a/laravel/cli/tasks/test/phpunit.php +++ b/laravel/cli/tasks/test/phpunit.php @@ -42,4 +42,4 @@ require path('sys').'core.php'; // -------------------------------------------------------------- // Start the default bundle. // -------------------------------------------------------------- -Bundle::start(DEFAULT_BUNDLE); \ No newline at end of file +Laravel\Bundle::start(DEFAULT_BUNDLE); \ No newline at end of file diff --git a/laravel/event.php b/laravel/event.php index 5657422c..7fdc1368 100644 --- a/laravel/event.php +++ b/laravel/event.php @@ -62,7 +62,7 @@ class Event { */ public static function clear($event) { - static::$events[$event] = array(); + unset(static::$events[$event]); } /**