function system_update_7081

Remove the Drupal 6 default install profile if it is still in the database.

Related topics


drupal/modules/system/system.install, line 3276
Install, update and uninstall functions for the system module.


function system_update_7081() {

  // Sites which used the default install profile in Drupal 6 and then updated
  // to Drupal 7.44 or earlier will still have a record of this install profile
  // in the database that needs to be deleted.
    ->condition('filename', 'profiles/default/default.profile')
    ->condition('type', 'module')
    ->condition('status', 0)
    ->condition('schema_version', 0)