security update core+modules
This commit is contained in:
@@ -28,6 +28,8 @@ function i18n_string_install() {
|
||||
i18n_string_update_7000();
|
||||
i18n_string_update_7001();
|
||||
}
|
||||
// Create new index in {locales_source}, performance improvement in sites with i18n.
|
||||
db_add_index('locales_source', 'textgroup_context', array('textgroup', 'context'));
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -36,6 +38,8 @@ function i18n_string_install() {
|
||||
function i18n_string_uninstall() {
|
||||
// Drop custom field.
|
||||
db_drop_field('locales_target', 'i18n_status');
|
||||
// Drop custom index in locales_source table
|
||||
db_drop_index('locales_source', 'textgroup_context');
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -230,6 +234,14 @@ function i18n_string_update_7001() {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Create new index in {locales_source}, performance improvement in sites with i18n.
|
||||
*/
|
||||
function i18n_string_update_7002() {
|
||||
db_add_index('locales_source', 'textgroup_context', array('textgroup', 'context'));
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Notes for update script
|
||||
*/
|
||||
|
Reference in New Issue
Block a user