Skip to content

Commit

Permalink
Merge pull request #38 from jarektkaczyk/master
Browse files Browse the repository at this point in the history
dedicated `boot` method
  • Loading branch information
mpociot committed May 31, 2016
2 parents 2d55b4a + 5ea38ff commit 2180493
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Mpociot/Teamwork/Traits/UsedByTeams.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,8 @@ trait UsedByTeams
/**
* Boot the global scope
*/
protected static function boot()
protected static function bootUsedByTeams()
{
parent::boot();

static::addGlobalScope('team', function (Builder $builder) {
static::teamGuard();

Expand Down

0 comments on commit 2180493

Please sign in to comment.