Projet

Général

Profil

Révision ef1afbb9

Ajouté par Assos Assos il y a plus de 6 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/views/views.install
252 252
    ),
253 253
  );
254 254

  
255
  // $schema['cache_views_data'] added in views_schema_6006()
256

  
255
  // $schema['cache_views_data'] added in views_schema_6006().
257 256
  return $schema;
258 257
}
259 258

  
......
295 294
  update_sql("UPDATE {blocks} SET delta = CONCAT(delta, '-block_1') WHERE module = 'views'");
296 295
}
297 296

  
298
// NOTE: Update 6002 removed because it did not always work.
299
// Update 6004 implements the change correctly.
297
/*
298
 * NOTE: Update 6002 removed because it did not always work.
299
 * Update 6004 implements the change correctly.
300
 */
300 301

  
301 302
/**
302 303
 * Add missing unique key.
......
487 488
 */
488 489
function views_update_6012() {
489 490
  // There is only one simple query to run.
490
  $update = db_update('blocks')
491
  db_update('blocks')
491 492
    ->condition('module', 'views')
492 493
    ->condition('delta', db_like('-exp-') . '%', 'LIKE')
493 494
    ->fields(array('cache' => DRUPAL_NO_CACHE));

Formats disponibles : Unified diff