Skip to content

Commit

Permalink
Remove redundant check
Browse files Browse the repository at this point in the history
  • Loading branch information
izendegi committed Jan 15, 2025
1 parent 203181f commit 6ae7dda
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions classes/webservice.php
Original file line number Diff line number Diff line change
Expand Up @@ -473,8 +473,8 @@ private function get_least_recently_active_paid_user_id() {
continue;
}

// Skip the protected group.
if (!empty($this->protectedgroups) && !empty(array_intersect($this->protectedgroups, $user->group_ids ?? []))) {
// Skip the users of protected groups.
if (!empty(array_intersect($this->protectedgroups, $user->group_ids ?? []))) {
continue;
}

Expand Down

0 comments on commit 6ae7dda

Please sign in to comment.