Révision b0dc3a2e
Ajouté par Julien Enselme il y a plus de 7 ans
drupal7/includes/update.inc | ||
---|---|---|
795 | 795 |
function update_fix_d7_install_profile() { |
796 | 796 |
$profile = drupal_get_profile(); |
797 | 797 |
|
798 |
// 'Default' profile has been renamed to 'Standard' in D7. |
|
799 |
// We change the profile here to prevent a broken record in the system table. |
|
800 |
// See system_update_7049(). |
|
801 |
if ($profile == 'default') { |
|
802 |
$profile = 'standard'; |
|
803 |
variable_set('install_profile', $profile); |
|
804 |
} |
|
805 |
|
|
798 | 806 |
$results = db_select('system', 's') |
799 | 807 |
->fields('s', array('name', 'schema_version')) |
800 | 808 |
->condition('name', $profile) |
Formats disponibles : Unified diff
Update to Drupal 7.52