You are here

function domain_update_6202 in Domain Access 6.2

Updates to 6.x.2.

Removes the authoring and menu settings for the node form.

File

./domain.install, line 170
Install file.

Code

function domain_update_6202() {
  $ret = array();
  $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);
  return $ret;
}