Skip to content

Commit

Permalink
Merge branch 'release/1.1.3'
Browse files Browse the repository at this point in the history
  • Loading branch information
mpociot committed Aug 7, 2015
2 parents e3bd6f0 + 380912d commit a2cc1bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Mpociot/Teamwork/Traits/UserHasTeams.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public static function bootUserHasTeams()
{
static::deleting( function ( Model $user )
{
if ( !method_exists( \Config::get( 'auth.model' ), 'bootSoftDeletingTrait' ) )
if ( !method_exists( \Config::get( 'auth.model' ), 'bootSoftDeletes' ) )
{
$user->teams()->sync( [ ] );
}
Expand Down

0 comments on commit a2cc1bb

Please sign in to comment.