diff --git a/features.export.inc b/features.export.inc index 68c2da2..c071f2b 100644 --- a/features.export.inc +++ b/features.export.inc @@ -181,11 +181,14 @@ function features_export_prepare($export, $module_name, $reset = FALSE) { // Order info array. $standard_info = array(); - foreach (array('name', 'description', 'core', 'package', 'php', 'version', 'project', 'dependencies') as $item) { + foreach (array('name', 'description', 'core', 'package', 'version', 'project', 'dependencies') as $item) { if (isset($export[$item])) { $standard_info[$item] = $export[$item]; } } + if (isset($export['php']) && ($export['php'] != DRUPAL_MINIMUM_PHP)) { + $standard_info['php'] = $export['php']; + } $export = array_diff_assoc($export, $standard_info); ksort($export); diff --git a/features.module b/features.module index 14ba7f7..d6e1fd4 100644 --- a/features.module +++ b/features.module @@ -409,7 +409,6 @@ function feature_load($name, $reset = FALSE) { 'description' => '', 'package' => 'Other', 'version' => NULL, - 'php' => DRUPAL_MINIMUM_PHP, 'files' => array(), 'bootstrap' => 0, );