diff -u b/scald.features.inc b/scald.features.inc --- b/scald.features.inc +++ b/scald.features.inc @@ -176,10 +176,10 @@ * Used when the user choose to switch to new feature export, * after recreating the features. - * It deletes the old "module.context_config.inc" file. + * It warns about deprecation of the old "module.context_config.inc" file. */ function _scald_context_clean_export($module) { $path = drupal_get_path('module', $module) . '/' . $module . '.context_config.inc'; if (file_exists($path)) { - file_unmanaged_delete($path); + features_log(t('The file @filename has been deprecated and can be removed.', array('@filename' => $path)), 'status'); } }