Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Remove unused method
Signed-off-by: Joas Schilling <[email protected]>
  • Loading branch information
nickvergessen authored and backportbot-nextcloud[bot] committed Aug 24, 2022
commit 2dd9f285f4c139f011b081b6a1f7a57c7beafa0e
14 changes: 0 additions & 14 deletions apps/user_ldap/lib/Wizard.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,20 +120,6 @@ public function countEntries(string $filter, string $type): int {
return (int)$result;
}

/**
* formats the return value of a count operation to the string to be
* inserted.
*
* @param int $count
* @return string
*/
private function formatCountResult(int $count): string {
if ($count > 1000) {
return '> 1000';
}
return (string)$count;
}

public function countGroups() {
$filter = $this->configuration->ldapGroupFilter;

Expand Down