1 system.install | system_update_1027() |
Remove the per-user cache column from the session table.
Related topics
File
- core/
modules/ system/ system.install, line 2607 - Install, update and uninstall functions for the system module.
Code
function system_update_1027() {
if (db_field_exists('sessions', 'cache')) {
db_drop_field('sessions', 'cache');
}
$config = config('system.core');
$config->clear('cache_lifetime');
$config->save();
}