You are here

function shorten_update_7002 in Shorten URLs 8

Same name and namespace in other branches
  1. 7.2 shorten.install \shorten_update_7002()
  2. 7 shorten.install \shorten_update_7002()

Implements hook_update_N(). Removes variables for deprecated services.

File

./shorten.install, line 30
(Un)installs the Shorten module.

Code

function shorten_update_7002() {
  \Drupal::config('shorten.settings')
    ->clear('shorten_cligs')
    ->save();
  \Drupal::config('shorten.settings')
    ->clear('shorten_redirec')
    ->save();
}