Commit 317e8db8 authored by Taylor Otwell's avatar Taylor Otwell

change query event name.

parent 36834c11
...@@ -240,7 +240,7 @@ class Connection { ...@@ -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');
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment