Skip to content

Commit 08f9f66

Browse files
authored
Merge pull request #65 from beratkara/master
the line I forgot was deleted
2 parents fcc70ae + e00550f commit 08f9f66

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/Traits/Friendable.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,6 @@ private function findFriendships($status = null, string $groupSlug = '', string
439439
$query->where(function ($q) {$q->whereRecipient($this);});
440440
break;
441441
}
442-
$query->where(function ($q) {$q->whereSender($this);})->orWhere(function ($q) {$q->whereRecipient($this);});
443442
})->whereGroup($this, $groupSlug);
444443

445444
//if $status is passed, add where clause

0 commit comments

Comments
 (0)