Projet

Général

Profil

Révision d3a59f55

Ajouté par Assos Assos il y a environ 7 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/media/media.install
949 949

  
950 950
  // Clear the image cache to remove any old image styles that only exist in
951 951
  // code.
952
  cache_clear_all('*', 'cache_image', TRUE);
952
  cache_clear_all('image_styles', 'cache_image', TRUE);
953 953

  
954 954
  // Check if the square_thumbnail image style exists.
955 955
  // The style will only exist if the user has customized it, otherwise it would
......
1207 1207
    user_role_grant_permissions($rid, array('access media browser'));
1208 1208
  }
1209 1209
}
1210

  
1211
/**
1212
 * Make sure that the image style square_thumbnail is created.
1213
 */
1214
function media_update_7227() {
1215
  media_update_7211();
1216
}

Formats disponibles : Unified diff