ldappluginhook.hook.php (fogproject-1.5.5) | : | ldappluginhook.hook.php (fogproject-1.5.6) | ||
---|---|---|---|---|
skipping to change at line 177 | skipping to change at line 177 | |||
} | } | |||
/** | /** | |||
* Sets our user type to filter from user list | * Sets our user type to filter from user list | |||
* | * | |||
* @param mixed $arguments the item to adjust | * @param mixed $arguments the item to adjust | |||
* | * | |||
* @return void | * @return void | |||
*/ | */ | |||
public function setTypeFilter($arguments) | public function setTypeFilter($arguments) | |||
{ | { | |||
$arguments['types'] = array(990, 991); | $arguments['types'] = explode(',', self::getSetting('FOG_USER_FILTER')); | |||
} | } | |||
/** | /** | |||
* Tests if the user is containing the ldap types. | * Tests if the user is containing the ldap types. | |||
* | * | |||
* @param mixed $arguments the item to adjust | * @param mixed $arguments the item to adjust | |||
* | * | |||
* @return void | * @return void | |||
*/ | */ | |||
public function isLdapType($arguments) | public function isLdapType($arguments) | |||
{ | { | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added |