fixing bug in event class.

Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
This commit is contained in:
Taylor Otwell
2012-03-06 17:27:41 -06:00
parent cb8dbddccc
commit 6535fca31c
2 changed files with 2 additions and 2 deletions

View File

@@ -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);

View File

@@ -62,7 +62,7 @@ class Event {
*/ */
public static function clear($event) public static function clear($event)
{ {
static::$events[$event] = array(); unset(static::$events[$event]);
} }
/** /**