/** * Replace the instance's configuration data with those currently in $this->config; */ function instance_config_commit($nolongerused = false) { // Unset config variables that are no longer used. unset($this->config->globalglossary); unset($this->config->courseid); parent::instance_config_commit($nolongerused); }