updated synonyms to 1.4

This commit is contained in:
Bachir Soussi Chiadmi 2016-11-05 17:53:45 +01:00
parent 8d24211bf5
commit 773e7fbddd
3 changed files with 10 additions and 8 deletions

View File

@ -16,9 +16,9 @@ files[] = views/synonyms.views.inc
files[] = views/synonyms_views_plugin_argument_validate_taxonomy_term.inc files[] = views/synonyms_views_plugin_argument_validate_taxonomy_term.inc
files[] = views/synonyms_views_handler_filter_term_tid.inc files[] = views/synonyms_views_handler_filter_term_tid.inc
; Information added by Drupal.org packaging script on 2015-11-29 ; Information added by Drupal.org packaging script on 2015-12-02
version = "7.x-1.3" version = "7.x-1.4"
core = "7.x" core = "7.x"
project = "synonyms" project = "synonyms"
datestamp = "1448771941" datestamp = "1449079740"

View File

@ -99,8 +99,10 @@ function synonyms_update_7101() {
*/ */
function synonyms_update_7102() { function synonyms_update_7102() {
$field = field_info_field('synonyms_synonyms'); $field = field_info_field('synonyms_synonyms');
$field['locked'] = FALSE; if ($field !== NULL) {
field_update_field($field); $field['locked'] = FALSE;
field_update_field($field);
}
db_create_table('synonyms_settings', array( db_create_table('synonyms_settings', array(
'description' => 'Stores synonyms settings for all the entities and fields. Only enabled synonyms behaviors are included in this table.', 'description' => 'Stores synonyms settings for all the entities and fields. Only enabled synonyms behaviors are included in this table.',

View File

@ -12,9 +12,9 @@ files[] = includes/SearchTextSynonymsBehavior.class.inc
files[] = includes/SearchTaxonomySynonymsBehavior.class.inc files[] = includes/SearchTaxonomySynonymsBehavior.class.inc
files[] = includes/SearchEntityReferenceSynonymsBehavior.class.inc files[] = includes/SearchEntityReferenceSynonymsBehavior.class.inc
; Information added by Drupal.org packaging script on 2015-11-29 ; Information added by Drupal.org packaging script on 2015-12-02
version = "7.x-1.3" version = "7.x-1.4"
core = "7.x" core = "7.x"
project = "synonyms" project = "synonyms"
datestamp = "1448771941" datestamp = "1449079740"