1.20.x system.install | system_update_1066() |
Update the core profile locations.
Related topics
File
- modules/
system/ system.install, line 3080 - Install, update and uninstall functions for the system module.
Code
function system_update_1066() {
$profiles = array(
'standard',
'minimal',
'testing',
);
foreach ($profiles as $profile_name) {
db_query("UPDATE {system} SET filename = :filename WHERE name = :name AND type = 'module'", array(
':filename' => 'core/profiles/' . $profile_name . '/' . $profile_name . '.profile',
':name' => $profile_name,
));
}
}