You are here

function cas_update_8002 in CAS 2.x

Same name and namespace in other branches
  1. 8 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();
}