diff options
author | Dries Buytaert <dries@buytaert.net> | 2003-12-01 13:45:33 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2003-12-01 13:45:33 +0000 |
commit | 4e2c0b250e4f080d0bc3c4b587c6b2c53a0db7ac (patch) | |
tree | f057d6143f516349ba72ca67b4e2f4fc736cc95e /modules/path/path.module | |
parent | 4a5dc7e43acac8f2c9f3844035055c609da40370 (diff) | |
download | brdo-4e2c0b250e4f080d0bc3c4b587c6b2c53a0db7ac.tar.gz brdo-4e2c0b250e4f080d0bc3c4b587c6b2c53a0db7ac.tar.bz2 |
- Introduced a drupal_set_message() and drupal_get_message() function.
Contributed themes and modules need to be updated:
- modules: status() is no more; use drupal_set_message() instead.
- themes: use drupal_get_message() to check for status messages and
visualize them.
Diffstat (limited to 'modules/path/path.module')
-rw-r--r-- | modules/path/path.module | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/path/path.module b/modules/path/path.module index 24ac11ac0..86039a684 100644 --- a/modules/path/path.module +++ b/modules/path/path.module @@ -25,13 +25,13 @@ function path_admin() { break; case "delete": - $output = status(path_delete(arg(3))); + drupal_set_message(path_delete(arg(3))); $output .= path_overview(); break; case t("Create new alias"): case t("Update alias"): - $output .= status(path_save($edit)); + drupal_set_message(path_save($edit)); break; default: |