aboutsummaryrefslogtreecommitdiff
path: root/mod/opendd/actions
diff options
context:
space:
mode:
Diffstat (limited to 'mod/opendd/actions')
-rw-r--r--mod/opendd/actions/opendd/feed/delete.php4
-rw-r--r--mod/opendd/actions/opendd/feed/subscribe.php4
2 files changed, 4 insertions, 4 deletions
diff --git a/mod/opendd/actions/opendd/feed/delete.php b/mod/opendd/actions/opendd/feed/delete.php
index 2826174bf..6e7731df3 100644
--- a/mod/opendd/actions/opendd/feed/delete.php
+++ b/mod/opendd/actions/opendd/feed/delete.php
@@ -28,11 +28,11 @@
$returnurl = $CONFIG->url . "mod/opendd/";
}
else
- system_message(elgg_echo("opendd:notdeleted"));
+ register_error(elgg_echo("opendd:notdeleted"));
}
else
- system_message(elgg_echo("opendd:notobject"));
+ register_error(elgg_echo("opendd:notobject"));
diff --git a/mod/opendd/actions/opendd/feed/subscribe.php b/mod/opendd/actions/opendd/feed/subscribe.php
index 654e6aef3..d96c93218 100644
--- a/mod/opendd/actions/opendd/feed/subscribe.php
+++ b/mod/opendd/actions/opendd/feed/subscribe.php
@@ -33,7 +33,7 @@
if (!($feed instanceof ElggObject))
{
- system_message(elgg_echo("opendd:notobject"));
+ register_error(elgg_echo("opendd:notobject"));
forward($_SERVER['HTTP_REFERER']);
exit;
@@ -51,7 +51,7 @@
if ($feed->save())
system_message(elgg_echo("opendd:feedok"));
else
- system_message(elgg_echo("opendd:feednotok"));
+ register_error(elgg_echo("opendd:feednotok"));
forward($_SERVER['HTTP_REFERER']);
exit;