Skip to content

Commit 6ae7dda

Browse files
committed
Remove redundant check
1 parent 203181f commit 6ae7dda

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

classes/webservice.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -473,8 +473,8 @@ private function get_least_recently_active_paid_user_id() {
473473
continue;
474474
}
475475

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

0 commit comments

Comments
 (0)