|
|
|
@ -114,6 +114,11 @@ class Search extends Command {
|
|
|
|
$proxy = new Group_Proxy($configPrefixes, $ldapWrapper);
|
|
|
|
$proxy = new Group_Proxy($configPrefixes, $ldapWrapper);
|
|
|
|
$getMethod = 'getGroups';
|
|
|
|
$getMethod = 'getGroups';
|
|
|
|
$printID = false;
|
|
|
|
$printID = false;
|
|
|
|
|
|
|
|
// convert the limit of groups to null. This will show all the groups available instead of
|
|
|
|
|
|
|
|
// nothing, and will match the same behaviour the search for users has.
|
|
|
|
|
|
|
|
if ($limit === 0) {
|
|
|
|
|
|
|
|
$limit = null;
|
|
|
|
|
|
|
|
}
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
$proxy = new User_Proxy($configPrefixes, $ldapWrapper, $this->ocConfig);
|
|
|
|
$proxy = new User_Proxy($configPrefixes, $ldapWrapper, $this->ocConfig);
|
|
|
|
$getMethod = 'getDisplayNames';
|
|
|
|
$getMethod = 'getDisplayNames';
|
|
|
|
|