summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--i18n_block/i18n_block.module4
-rw-r--r--i18n_contact/i18n_contact.module4
2 files changed, 4 insertions, 4 deletions
diff --git a/i18n_block/i18n_block.module b/i18n_block/i18n_block.module
index b765721..21005e5 100644
--- a/i18n_block/i18n_block.module
+++ b/i18n_block/i18n_block.module
@@ -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");
}
/**
diff --git a/i18n_contact/i18n_contact.module b/i18n_contact/i18n_contact.module
index 8078b09..8ac4c8e 100644
--- a/i18n_contact/i18n_contact.module
+++ b/i18n_contact/i18n_contact.module
@@ -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");
}
/**