self service: check if there is a Kolab extension

This commit is contained in:
Roland Gruber 2008-12-14 10:18:36 +00:00
parent f3db3ffdcd
commit c088243b48
1 changed files with 3 additions and 0 deletions

View File

@ -918,6 +918,9 @@ class kolabUser extends baseModule {
*/
function checkSelfServiceOptions($fields, $attributes) {
$return = array('messages' => array(), 'add' => array(), 'del' => array(), 'mod' => array());
if (!in_array_ignore_case('kolabInetOrgPerson', $attributes['objectClass'])) {
return $return;
}
$attributeNames = array(); // list of attributes which should be checked for modification
$attributesNew = $attributes;
// kolabFreeBusyFuture