Revision 38e46518
Added by Andreas Kohlbecker over 12 years ago
5.x/modules/cdm_dataportal/cdm_dataportal.install | ||
---|---|---|
43 | 43 |
* 2 digits for sequential counting starting with 00 |
44 | 44 |
* The 2nd digit should be 0 for initial porting of your module to a new Drupal core API. |
45 | 45 |
* |
46 |
* Update 1 for version 5.x-1.0
|
|
46 |
* Update 2 for version 5.x-1.0
|
|
47 | 47 |
*/ |
48 | 48 |
function cdm_dataportal_update_5102() { |
49 | 49 |
$items = array(); |
... | ... | |
61 | 61 |
return $items; |
62 | 62 |
} |
63 | 63 |
|
64 |
/** |
|
65 |
* Implementation of hook_api_update_N(). |
|
66 |
* |
|
67 |
* Database updates consist of 3 parts: |
|
68 |
* 1 digit for Drupal core compatibility |
|
69 |
* 1 digit for your module's major release version (e.g. is this the 5.x-1.* (1) or 5.x-2.* (2) series of your module?) |
|
70 |
* 2 digits for sequential counting starting with 00 |
|
71 |
* The 2nd digit should be 0 for initial porting of your module to a new Drupal core API. |
|
72 |
* |
|
73 |
* Update 1 for version 5.x-3.0 |
|
74 |
*/ |
|
75 |
function cdm_dataportal_update_5301() { |
|
76 |
$items = array(); |
|
77 |
// add new default to |
|
78 |
$annotation_types_filter = variable_get('annotations_types_as_footnotes', FALSE); |
|
79 |
if($annotation_types_filter) { |
|
80 |
$annotation_types_filter['NULL_VALUE'] = 'NULL_VALUE'; |
|
81 |
} |
|
82 |
$items[] = _modify_variable('annotations_types_as_footnotes', $annotation_types_filter); |
|
83 |
return $items; |
|
84 |
} |
|
85 |
|
|
64 | 86 |
// ------------------------- SQL Scripts ------------------------ // |
65 | 87 |
|
66 | 88 |
|
Also available in: Unified diff
bugfix for #2679 (Improve Concept Relationships for Dataportal) and removing whitespace before nom status