Projet

Général

Profil

Révision 955823d8

Ajouté par Assos Assos il y a presque 9 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/flexslider/flexslider.install
43 43
        'not null' => TRUE,
44 44
        'default' => 'classic',
45 45
      ),
46
      'imagestyle_normal' => array(
47
        'description' => 'The image style for normal images.',
48
        'type' => 'varchar',
49
        'length' => 255,
50
        'not null' => TRUE,
51
        'default' => 'flexslider_full',
52
      ),
53
      'imagestyle_thumbnail' => array(
54
        'description' => 'The image style for thumbnail images.',
55
        'type' => 'varchar',
56
        'length' => 255,
57
        'not null' => TRUE,
58
        'default' => 'flexslider_thumbnail',
59
      ),
60 46
      'options' => array(
61 47
        'description' => 'The options array.',
62 48
        'type' => 'blob',
......
189 175
  db_add_field('flexslider_optionset', 'imagestyle_thumbnail', $field_new, array());
190 176
}
191 177

  
178
/**
179
 * Implements hook_update_N().
180
 *
181
 * Remove the image style settings from the optionset
182
 */
183
function flexslider_update_7202(&$sandbox) {
184
  db_drop_field('flexslider_optionset', 'imagestyle_normal');
185
  db_drop_field('flexslider_optionset', 'imagestyle_thumbnail');
186
}
187

  
192 188
/**
193 189
 * Check if the library is available
194 190
 *

Formats disponibles : Unified diff