only in patch2: unchanged: --- a/core/modules/node/node.install +++ b/core/modules/node/node.install @@ -525,6 +525,29 @@ function node_update_8000() { } /** + * Change default promoted flag of node types to disabled. + * + * The default for 'Promoted to front page' was changed from enabled to + * disabled. Since enabled was the implicit default previously, and may not have + * been explicitly configured as such, this update ensures that the old implicit + * default is still the default. + * + * @see http://drupal.org/node/987238 + */ +function node_update_8001() { + // Fetch the available node types. + $types = db_query('SELECT type FROM {node_type}')->fetchCol(); + + foreach ($types as $type) { + $options = variable_get("node_options_$type"); + if (!isset($options)) { + $options['promote'] = 'promote'; + variable_set("node_options_$type", $options); + } + } +} + +/** * @} End of "addtogroup updates-7.x-to-8.x" * The next series of updates should start at 9000. */