summaryrefslogtreecommitdiff
path: root/modules/aggregator.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2003-12-01 13:45:33 +0000
committerDries Buytaert <dries@buytaert.net>2003-12-01 13:45:33 +0000
commit4e2c0b250e4f080d0bc3c4b587c6b2c53a0db7ac (patch)
treef057d6143f516349ba72ca67b4e2f4fc736cc95e /modules/aggregator.module
parent4a5dc7e43acac8f2c9f3844035055c609da40370 (diff)
downloadbrdo-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/aggregator.module')
-rw-r--r--modules/aggregator.module10
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/aggregator.module b/modules/aggregator.module
index e4a644a6c..bbc2676a1 100644
--- a/modules/aggregator.module
+++ b/modules/aggregator.module
@@ -588,18 +588,18 @@ function import_admin() {
}
break;
case "remove":
- $output = status(import_remove(import_get_feed(arg(5))));
+ drupal_set_message(import_remove(import_get_feed(arg(5))));
$output .= import_view();
break;
case "update":
- $output = status(import_refresh(import_get_feed(arg(5))));
+ drupal_set_message(import_refresh(import_get_feed(arg(5))));
$output .= import_view();
break;
case "tag":
$output = import_tag();
break;
case t("Save attributes"):
- $output = status(import_save_attributes($edit));
+ drupal_set_message(import_save_attributes($edit));
$output .= import_tag();
break;
case t("Delete"):
@@ -607,10 +607,10 @@ function import_admin() {
// fall through:
case t("Submit"):
if (arg(5) == "bundle") {
- $output = status(import_save_bundle($edit));
+ drupal_set_message(import_save_bundle($edit));
}
else {
- $output = status(import_save_feed($edit));
+ drupal_set_message(import_save_feed($edit));
}
// fall through:
default: