Project

General

Profile

« Previous | Next » 

Revision 2c63e9ba

Added by Andreas Kohlbecker over 2 years ago

ref #9792 update script to remove epic from stored settings

View differences:

modules/cdm_dataportal/ext_links/ext_links.install
127 127
  return join("; \n", $tasks_performed);
128 128
}
129 129

  
130
/**
131
 * - remove linkg to ePIC
132
 */
133
function ext_links_update_7003() {
134

  
135
  $tasks_performed = [];
136
  $links_templates = ext_links_templates();
137
  if(array_key_exists('epic', $links_templates)) {
138
    db_delete('ext_links')->condition('id', 'epic')->execute();
139
    $tasks_performed[] = "ext_link for ePIC removed";
140
  }
141
  return join("; \n", $tasks_performed);
142
}
130 143

  
131 144
/**
132 145
 * Migrates old ext link templates from drupal vars to the ext_link table.

Also available in: Unified diff