Browse Source

change query event name.

Taylor Otwell 13 years ago
parent
commit
317e8db81f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      laravel/database/connection.php

+ 1 - 1
laravel/database/connection.php

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