|  | @@ -57,7 +57,7 @@ function fgcf_install() {
 | 
											
												
													
														|  |    taxonomy_save_vocabulary($vocabulary);
 |  |    taxonomy_save_vocabulary($vocabulary);
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |    $vocabulary = array(
 |  |    $vocabulary = array(
 | 
											
												
													
														|  | -    'name' => 'FGCF Public visé',
 |  | 
 | 
											
												
													
														|  | 
 |  | +    'name' => 'FGCF Public concerné',
 | 
											
												
													
														|  |      'description' => '',
 |  |      'description' => '',
 | 
											
												
													
														|  |      'multiple' => 0,
 |  |      'multiple' => 0,
 | 
											
												
													
														|  |      'required' => 0,
 |  |      'required' => 0,
 | 
											
										
											
												
													
														|  | @@ -71,14 +71,23 @@ function fgcf_install() {
 | 
											
												
													
														|  |  }
 |  |  }
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |  /**
 |  |  /**
 | 
											
												
													
														|  | - * Implements hook_update_N().
 |  | 
 | 
											
												
													
														|  | - *
 |  | 
 | 
											
												
													
														|  |   * Rename "FGCF Thématique" vocabulary to "FGCF Thème", as per issue #642
 |  |   * Rename "FGCF Thématique" vocabulary to "FGCF Thème", as per issue #642
 | 
											
												
													
														|  |   *
 |  |   *
 | 
											
												
													
														|  |   * @return array
 |  |   * @return array
 | 
											
												
													
														|  |   */
 |  |   */
 | 
											
												
													
														|  |  function fgcf_update_6101() {
 |  |  function fgcf_update_6101() {
 | 
											
												
													
														|  |    $sq = "UPDATE {vocabulary} SET name = 'FGCF Thème' WHERE name = 'FGCF Thématique'";
 |  |    $sq = "UPDATE {vocabulary} SET name = 'FGCF Thème' WHERE name = 'FGCF Thématique'";
 | 
											
												
													
														|  | -  $ret = update_sql($sq);
 |  | 
 | 
											
												
													
														|  | 
 |  | +  $ret = array(update_sql($sq));
 | 
											
												
													
														|  |    return $ret;
 |  |    return $ret;
 | 
											
												
													
														|  | -}
 |  | 
 | 
											
												
													
														|  | 
 |  | +}
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  | 
 |  | +/**
 | 
											
												
													
														|  | 
 |  | + * Rename "FGCF Public visé" vocabulary to "FGCF Public concerné", as per issue #642
 | 
											
												
													
														|  | 
 |  | + *
 | 
											
												
													
														|  | 
 |  | + * @return array
 | 
											
												
													
														|  | 
 |  | + */
 | 
											
												
													
														|  | 
 |  | +function fgcf_update_6102() {
 | 
											
												
													
														|  | 
 |  | +  $sq = "UPDATE {vocabulary} SET name = 'FGCF Public concerné' WHERE name = 'FGCF Public visé'";
 | 
											
												
													
														|  | 
 |  | +  $ret = array(update_sql($sq));
 | 
											
												
													
														|  | 
 |  | +  return $ret;
 | 
											
												
													
														|  | 
 |  | +}
 |