Project

General

Profile

« Previous | Next » 

Revision abb2570a

Added by Andreas Kohlbecker almost 3 years ago

ref #9659 automatically enabling cdm_tokens via update function

View differences:

modules/cdm_dataportal/ext_links/ext_links.install
99 99
 * Update ext_link to cdm_tokens functionality
100 100
 */
101 101
function ext_links_update_7002(){
102

  
102 103
  $tasks_performed = [];
104
  module_enable(['cdm_tokens'], TRUE);
105
  $tasks_performed[] = "cdm_tokens module enabled.";
103 106
  $column_glue_exists = db_query("SHOW COLUMNS FROM {ext_links} LIKE 'glue';")->rowCount();
104 107

  
105 108
  if($column_glue_exists){

Also available in: Unified diff