Skip to content

Commit 624b294

Browse files
committed
Cleanup service provider
1 parent cb42e3b commit 624b294

File tree

2 files changed

+101
-107
lines changed

2 files changed

+101
-107
lines changed

src/Jenssegers/Mongodb/MongodbServiceProvider.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,6 @@ public function boot()
1414
Model::setConnectionResolver($this->app['db']);
1515

1616
Model::setEventDispatcher($this->app['events']);
17-
18-
if (!defined('SHOULD_RETURN_COLLECTION')) {
19-
$s = explode('.', \Illuminate\Foundation\Application::VERSION);
20-
define('SHOULD_RETURN_COLLECTION', (10 * $s[0] + $s[1]) >= 53);
21-
}
2217
}
2318

2419
/**

0 commit comments

Comments
 (0)