Project

General

Profile

Revision b0dc3a2e

Added by Julien Enselme over 7 years ago

Update to Drupal 7.52

View differences:

drupal7/modules/update/update.compare.inc
104 104
 * @see update_get_projects()
105 105
 */
106 106
function _update_process_info_list(&$projects, $list, $project_type, $status) {
107
  $admin_theme = variable_get('admin_theme', 'seven');
107 108
  foreach ($list as $file) {
109
    // The admin theme is a special case. It should always be considered enabled
110
    // for the purposes of update checking.
111
    if ($file->name === $admin_theme) {
112
      $file->status = TRUE;
113
    }
108 114
    // A disabled base theme of an enabled sub-theme still has all of its code
109 115
    // run by the sub-theme, so we include it in our "enabled" projects list.
110 116
    if ($status && !$file->status && !empty($file->sub_themes)) {

Also available in: Unified diff