You are here

function skinr_update_6003 in Skinr 6.2

Install new skinsets table to allow enabling and disabling of skinsets.

File

./skinr.install, line 266
skinr.install Contains install, update, and uninstall functions for Skinr.

Code

function skinr_update_6003() {
  $ret = array();

  // Install skinr table.
  if (!db_table_exists('skinr_skins')) {
    $schema = drupal_get_schema_unprocessed('skinr');
    _drupal_initialize_schema('skinr', $schema);
    db_create_table($ret, 'skinr_skins', $schema['skinr_skins']);
  }
  return $ret;
}