1 update.install | update_update_1004() |
Fix wrong default value for update_threshold setting.
Related topics
File
- core/
modules/ update/ update.install, line 234 - Install, update, and uninstall functions for the Update Manager module.
Code
function update_update_1004() {
$config = config('update.settings');
if ($config->get('update_threshold') === 0) {
$config->set('update_threshold', 'all');
}
$config->save();
}