change query event name.

This commit is contained in:
Taylor Otwell 2012-02-16 09:08:00 -06:00
parent 36834c1118
commit 317e8db81f
1 changed files with 1 additions and 1 deletions

View File

@ -240,7 +240,7 @@ protected function execute($sql, $bindings = array())
*/ */
protected function log($sql, $bindings, $time) protected function log($sql, $bindings, $time)
{ {
Event::fire('laravel: query', array($sql, $bindings, $time)); Event::fire('query', array($sql, $bindings, $time));
static::$queries[] = compact('sql', 'bindings', 'time'); static::$queries[] = compact('sql', 'bindings', 'time');
} }