Index: domain.admin.inc =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/domain/domain.admin.inc,v retrieving revision 1.33 diff -u -p -r1.33 domain.admin.inc --- domain.admin.inc 4 Aug 2009 14:17:09 -0000 1.33 +++ domain.admin.inc 17 Aug 2009 19:14:49 -0000 @@ -600,11 +600,9 @@ function domain_advanced_form($form_stat $form['domain_form']['intro'] = array('#value' => t('
When editors view domain-access restricted nodes, which form elements should be exposed?
')); $options = array( 'log' => t('Log messages'), - 'author' => t('Authoring information'), 'options' => t('Publishing options'), 'comment_settings' => t('Comment settings'), 'path' => t('Path aliasing'), - 'menu' => t('Menu settings'), 'attachments' => t('File attachments') ); ksort($options); @@ -612,7 +610,7 @@ function domain_advanced_form($form_stat '#type' => 'checkboxes', '#default_value' => variable_get('domain_form_elements', array('options', 'delete', 'comment_settings', 'path')), '#options' => $options, - '#description' => t('Some elements may not be editable for all users due to permission restrictions, specifically authoring and menu settings.'), + '#description' => t('Some elements may not be editable for all users due to permission restrictions.'), ); return system_settings_form($form); } Index: domain.install =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/domain/domain.install,v retrieving revision 1.20 diff -u -p -r1.20 domain.install --- domain.install 31 May 2009 18:16:40 -0000 1.20 +++ domain.install 17 Aug 2009 19:14:49 -0000 @@ -160,3 +160,20 @@ function domain_update_6201() { db_query("DELETE FROM {domain_editor} WHERE NOT EXISTS (SELECT domain_id FROM {domain} WHERE {domain}.domain_id={domain_editor}.domain_id)"); return $ret; } + +/** + * Updates to 6.x.2. + * + * Removes the authoring and menu settings for the node form. + * + */ +function domain_update_6202() { + $options = variable_get('domain_form_elements', array()); + if (isset($options['author'])) { + unset($options['author']); + } + if (isset($options['menu'])) { + unset($options['menu']); + } + variable_set('domain_form_elements', $options); +}