1 system.install | system_update_1056() |
Move incorrectly stored "log_row_limit" setting.
Related topics
File
- core/
modules/ system/ system.install, line 3016 - Install, update and uninstall functions for the system module.
Code
function system_update_1056() {
// Move "row_limit" if set to "log_row_limit" in the system.core config file.
$config = config('system.core');
if ($limit = $config->get('row_limit')) {
$config->set('log_row_limit', $limit);
$config->clear('row_limit');
$config->save();
}
}