From bb293ccfb5193d2f769af6a8422765784c205536 Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Mon, 4 Jan 2010 23:08:34 +0000 Subject: #420358 follow-up by Dave Reid: Rename profiles default => standard and expert => minimal, for consistency with labels. --- modules/system/system.install | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'modules/system/system.install') diff --git a/modules/system/system.install b/modules/system/system.install index 478a09279..4a1e9ccdd 100644 --- a/modules/system/system.install +++ b/modules/system/system.install @@ -2718,6 +2718,15 @@ function system_update_7048() { ->execute(); } +/** + * Rename 'Default' profile to 'Standard.' + */ +function system_update_7049() { + if (variable_get('install_profile', 'standard') == 'default') { + variable_set('install_profile', 'standard'); + } +} + /** * @} End of "defgroup updates-6.x-to-7.x" * The next series of updates should start at 8000. -- cgit v1.2.3