summaryrefslogtreecommitdiff
path: root/modules/path
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2006-02-10 05:25:57 +0000
committerDries Buytaert <dries@buytaert.net>2006-02-10 05:25:57 +0000
commit583d5a4ee95a583184f39497a44062599ad6e1d7 (patch)
treecdefa73496e1140b7856f4a2fe869b5962b08eac /modules/path
parent91152ba7af96b8f7125cc54a268f0056435908a1 (diff)
downloadbrdo-583d5a4ee95a583184f39497a44062599ad6e1d7.tar.gz
brdo-583d5a4ee95a583184f39497a44062599ad6e1d7.tar.bz2
- Patch #48622 by adrian: remove drupal_goto from _submit functions.
Diffstat (limited to 'modules/path')
-rw-r--r--modules/path/path.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/path/path.module b/modules/path/path.module
index 816fd1c1e..004f647d6 100644
--- a/modules/path/path.module
+++ b/modules/path/path.module
@@ -117,7 +117,7 @@ function path_admin_delete_confirm($pid) {
function path_admin_delete_confirm_submit($form_id, $form_values) {
if ($form_values['confirm']) {
path_admin_delete($form_values['pid']);
- drupal_goto('admin/path');
+ return 'admin/path';
}
}
@@ -342,7 +342,7 @@ function path_form_submit() {
path_set_alias($src, $dst, $pid);
drupal_set_message(t('The alias has been saved.'));
- drupal_goto('admin/path');
+ return 'admin/path';
}
}