You are here

function cas_update_8002 in CAS 8

Same name and namespace in other branches
  1. 2.x cas.install \cas_update_8002()

Rename the configuration setting for debug log.

File

./cas.install, line 111
The Drupal install file.

Code

function cas_update_8002(&$sandbox) {
  $config_factory = \Drupal::configFactory();
  $config = $config_factory
    ->getEditable('cas.settings');
  $config
    ->set('advanced.debug_log', $config
    ->get('debugging.log'));
  $config
    ->clear('debugging');
  $config
    ->save();
}