Skip to content

Commit

Permalink
Removed gettext singleton on load
Browse files Browse the repository at this point in the history
  • Loading branch information
eusonlito committed Mar 2, 2017
1 parent 678bb94 commit a82bcd7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Eusonlito/LaravelGettext/GettextServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,7 @@ public function boot()
*/
public function register()
{
$this->app->singleton('gettext', function($app) {
return $this->load(config('gettext'));
});
return $this->load(config('gettext'));
}

public function load(array $config)
Expand Down

0 comments on commit a82bcd7

Please sign in to comment.