Projet

Général

Profil

Révision b0dc3a2e

Ajouté par Julien Enselme il y a plus de 7 ans

Update to Drupal 7.52

Voir les différences:

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)) {

Formats disponibles : Unified diff