Commit 624b294c authored by pi0's avatar pi0

Cleanup service provider

parent cb42e3b9
......@@ -14,11 +14,6 @@ class MongodbServiceProvider extends ServiceProvider
Model::setConnectionResolver($this->app['db']);
Model::setEventDispatcher($this->app['events']);
if (!defined('SHOULD_RETURN_COLLECTION')) {
$s = explode('.', \Illuminate\Foundation\Application::VERSION);
define('SHOULD_RETURN_COLLECTION', (10 * $s[0] + $s[1]) >= 53);
}
}
/**
......
This diff is collapsed.
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