Issue #2762241 by David_Rothstein, wylbur: Missing default.profile from the file system
parent
64a69f81f2
commit
00e9ceb158
|
@ -1072,8 +1072,8 @@ function _drupal_get_filename_perform_file_scan($type, $name) {
|
|||
*/
|
||||
function _drupal_get_filename_fallback_trigger_error($type, $name, $error_type) {
|
||||
// Hide messages due to known bugs that will appear on a lot of sites.
|
||||
// @todo Remove this in https://www.drupal.org/node/2762241
|
||||
if (empty($name) || ($type == 'module' && $name == 'default')) {
|
||||
// @todo Remove this in https://www.drupal.org/node/2383823
|
||||
if (empty($name)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
@ -3270,6 +3270,21 @@ function system_update_7080() {
|
|||
db_change_field('date_format_locale', 'format', 'format', $spec);
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove the Drupal 6 default install profile if it is still in the database.
|
||||
*/
|
||||
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.
|
||||
db_delete('system')
|
||||
->condition('filename', 'profiles/default/default.profile')
|
||||
->condition('type', 'module')
|
||||
->condition('status', 0)
|
||||
->condition('schema_version', 0)
|
||||
->execute();
|
||||
}
|
||||
|
||||
/**
|
||||
* @} End of "defgroup updates-7.x-extra".
|
||||
* The next series of updates should start at 8000.
|
||||
|
|
Loading…
Reference in New Issue