|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
public function getDisabledUserList(?int $limit = null, int $offset = 0, string $search = ''): array { |
|
|
public function getDisabledUserList(?int $limit = null, int $offset = 0, string $search = ''): array { |
|
|
|
|
|
if ((int)$this->getAccess(array_key_first($this->backends) ?? '')->connection->markRemnantsAsDisabled !== 1) { |
|
|
|
|
|
return []; |
|
|
|
|
|
} |
|
|
$disabledUsers = $this->deletedUsersIndex->getUsers(); |
|
|
$disabledUsers = $this->deletedUsersIndex->getUsers(); |
|
|
if ($search !== '') { |
|
|
if ($search !== '') { |
|
|
$disabledUsers = array_filter( |
|
|
$disabledUsers = array_filter( |