Projet

Général

Profil

Révision b4adf10d

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

Udpate to 7.33

Voir les différences:

drupal7/modules/block/block.install
79 79
      ),
80 80
      'title' => array(
81 81
        'type' => 'varchar',
82
        'length' => 64,
82
        'length' => 255,
83 83
        'not null' => TRUE,
84 84
        'default' => '',
85 85
        'description' => 'Custom title for the block. (Empty string will use block default title, <none> will remove the title, text will cause block to use specified title.)',
......
472 472
  db_drop_field('block', 'throttle');
473 473
}
474 474

  
475
/**
476
 * Increase {block}.title length to 255 characters.
477
 */
478
function block_update_7009() {
479
  db_change_field('block', 'title', 'title',
480
    array(
481
      'type' => 'varchar',
482
      'length' => 255,
483
      'not null' => TRUE,
484
      'default' => '',
485
      'description' => 'Custom title for the block. (Empty string will use block default title, <none> will remove the title, text will cause block to use specified title.)',
486
      'translatable' => TRUE,
487
    )
488
  );
489
}
490

  
475 491
/**
476 492
 * @} End of "addtogroup updates-7.x-extra".
477 493
 */

Formats disponibles : Unified diff