Issue #1155218 by berdir, Jose Reyero, Gbor Hojtsy: i18n_string_remove_string()...
authorGábor Hojtsy
Thu, 12 May 2011 12:08:22 +0000 (14:08 +0200)
committerGábor Hojtsy
Thu, 12 May 2011 12:08:22 +0000 (14:08 +0200)
i18n_block/i18n_block.module
i18n_contact/i18n_contact.module

index b765721..21005e5 100644 (file)
@@ -231,8 +231,8 @@ function i18n_block_i18n_string_list($group) {
 function i18n_block_block_delete_submit(&$form, $form_state) {
   $delta = $form_state['values']['delta'];
   // Delete stored strings for the title and content fields.
-  i18n_string_remove_string("blocks:block:$delta:title");
-  i18n_string_remove_string("blocks:block:$delta:body");
+  i18n_string_remove("blocks:block:$delta:title");
+  i18n_string_remove("blocks:block:$delta:body");
 }
 
 /**
index 8078b09..8ac4c8e 100644 (file)
@@ -117,8 +117,8 @@ function i18n_contact_form_contact_category_delete_form_alter(&$form, &$form_sta
  */
 function i18n_contact_form_contact_category_delete_form_submit(&$form, $form_state) {
   $contact = $form['contact']['#value']['cid'];
-  i18n_string_remove_string("contact:category:$contact:category");
-  i18n_string_remove_string("contact:category:$contact:reply");
+  i18n_string_remove("contact:category:$contact:category");
+  i18n_string_remove("contact:category:$contact:reply");
 }
 
 /**