Commit 27fc122b authored by Reinhold Kainhofer's avatar Reinhold Kainhofer

Updates

parent 2a893b0c
......@@ -92,6 +92,18 @@ class CBfield_usergroups extends cbFieldHandler {
return $result;
}
/**
* HIDE the field in the backend, because there we already have the full group selection box displayed!
*/
function getFieldRow( &$field, &$user, $output, $formatting, $reason, $list_compare_types ) {
global $_CB_framework;
if( $_CB_framework->getUi() == 2 ) {
return null;
} else {
return parent::getFieldRow( $field, $user, $output, $formatting, $reason, $list_compare_types );
}
}
/**
* Accessor:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment