Commit e30243d8 authored by Jens Segers's avatar Jens Segers

Revert last commit

parent 226af8b2
......@@ -7,22 +7,4 @@ abstract class Model extends \Illuminate\Database\Eloquent\Model {
use HybridRelations;
/**
* Get a new query builder instance for the connection.
*
* @return Builder
*/
protected function newBaseQueryBuilder()
{
$connection = $this->getConnection();
// Check the connection type
if ($connection instanceof \Jenssegers\Mongodb\Connection)
{
return new QueryBuilder($connection, $connection->getPostProcessor());
}
return parent::newBaseQueryBuilder();
}
}
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