Révision e4c061ad
Ajouté par Assos Assos il y a plus de 9 ans
drupal7/sites/all/modules/i18n/i18n_string/i18n_string.install | ||
---|---|---|
28 | 28 |
i18n_string_update_7000(); |
29 | 29 |
i18n_string_update_7001(); |
30 | 30 |
} |
31 |
// Create new index in {locales_source}, performance improvement in sites with i18n. |
|
32 |
db_add_index('locales_source', 'textgroup_context', array('textgroup', 'context')); |
|
31 | 33 |
} |
32 | 34 |
|
33 | 35 |
/** |
... | ... | |
36 | 38 |
function i18n_string_uninstall() { |
37 | 39 |
// Drop custom field. |
38 | 40 |
db_drop_field('locales_target', 'i18n_status'); |
41 |
// Drop custom index in locales_source table |
|
42 |
db_drop_index('locales_source', 'textgroup_context'); |
|
39 | 43 |
} |
40 | 44 |
|
41 | 45 |
/** |
... | ... | |
230 | 234 |
} |
231 | 235 |
} |
232 | 236 |
|
237 |
/** |
|
238 |
* Create new index in {locales_source}, performance improvement in sites with i18n. |
|
239 |
*/ |
|
240 |
function i18n_string_update_7002() { |
|
241 |
db_add_index('locales_source', 'textgroup_context', array('textgroup', 'context')); |
|
242 |
} |
|
243 |
|
|
244 |
|
|
233 | 245 |
/** |
234 | 246 |
* Notes for update script |
235 | 247 |
*/ |
Formats disponibles : Unified diff
Weekly update of contrib modules