Project

General

Profile

Revision 2c63e9ba

ID2c63e9ba162e7048af270702884e21a1f4571449
Parent cf1b2853
Child eeb2bfe0

Added by Andreas Kohlbecker 2 months 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

Add picture from clipboard (Maximum size: 40 MB)