diff options
author | Dries Buytaert <dries@buytaert.net> | 2005-12-02 15:21:01 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2005-12-02 15:21:01 +0000 |
commit | 26bd449860f6baa77ec23349b89ad8a41860eda2 (patch) | |
tree | d11947b157bc89e869a0b1641ceb3d57dff2fc35 /modules/block | |
parent | 4a3b9fc88353923021fdf15655de29f2a8361fc2 (diff) | |
download | brdo-26bd449860f6baa77ec23349b89ad8a41860eda2.tar.gz brdo-26bd449860f6baa77ec23349b89ad8a41860eda2.tar.bz2 |
- Patch #39576 by chx: rename '_execute' to '_submit' and '#execute' to '#submit'.
Diffstat (limited to 'modules/block')
-rw-r--r-- | modules/block/block.module | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/block/block.module b/modules/block/block.module index 2ed842f01..c07b56851 100644 --- a/modules/block/block.module +++ b/modules/block/block.module @@ -387,7 +387,7 @@ function block_admin_configure_validate($form_id, $form_values) { } } -function block_admin_configure_execute($form_id, $form_values) { +function block_admin_configure_submit($form_id, $form_values) { if (!form_get_errors()) { db_query("UPDATE {blocks} SET visibility = %d, pages = '%s', custom = %d WHERE module = '%s' AND delta = '%s'", $form_values['visibility'], $form_values['pages'], $form_values['custom'], $form_values['module'], $form_values['delta']); module_invoke($form_values['module'], 'block', 'save', $form_values['delta'], $form_values); @@ -413,7 +413,7 @@ function block_box_add_validate($form_id, $form_values) { } } -function block_box_add_execute($form_id, $form_values) { +function block_box_add_submit($form_id, $form_values) { if (!form_get_errors()) { if (block_box_save($form_values)) { drupal_set_message(t('The block has been created.')); @@ -436,7 +436,7 @@ function block_box_delete($bid = 0) { /** * Deletion of custom blocks. */ -function block_box_delete_confirm_execute($form_id, $form_values) { +function block_box_delete_confirm_submit($form_id, $form_values) { db_query('DELETE FROM {boxes} WHERE bid = %d', $form_values['bid']); drupal_set_message(t('The block %name has been removed.', array('%name' => theme('placeholder', $form_values['info'])))); cache_clear_all(); |