Skip to content

Commit e00550f

Browse files
author
Berat Kara
committed
the line I forgot was deleted
1 parent 787dbd7 commit e00550f

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)