function user_expire_update_8001 in User Expire 8
Remove last_run from config.
File
- ./
user_expire.install, line 43 - Install and update functions for the User expire module.
Code
function user_expire_update_8001() {
$config_factory = \Drupal::configFactory();
$config = $config_factory
->getEditable('user_expire.settings');
$config
->clear('last_run');
$config
->save();
}