change query event name.

This commit is contained in:
Taylor Otwell
2012-02-16 09:08:00 -06:00
parent 36834c1118
commit 317e8db81f

View File

@@ -240,7 +240,7 @@ class Connection {
*/ */
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');
} }