aboutsummaryrefslogtreecommitdiff
path: root/actions/widgets
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-19 21:19:08 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-19 21:19:08 +0000
commitd190f8edd1460d0495f52df8849ca7bfded5efdb (patch)
tree97b7beae8041cb7b1d51cb4b7becce6439bc38e8 /actions/widgets
parentbf45a375767dff6c02abdce370426e922ef4054e (diff)
downloadelgg-d190f8edd1460d0495f52df8849ca7bfded5efdb.tar.gz
elgg-d190f8edd1460d0495f52df8849ca7bfded5efdb.tar.bz2
No need to say the widget was added because we can see it happen.
git-svn-id: http://code.elgg.org/elgg/trunk@8349 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'actions/widgets')
-rw-r--r--actions/widgets/add.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/actions/widgets/add.php b/actions/widgets/add.php
index ac8983115..f65d11134 100644
--- a/actions/widgets/add.php
+++ b/actions/widgets/add.php
@@ -31,11 +31,11 @@ if (!empty($owner_guid)) {
// send widget html for insertion
echo elgg_view_entity($widget);
- system_message(elgg_echo('widgets:add:success'));
+ //system_message(elgg_echo('widgets:add:success'));
forward(REFERER);
}
}
}
register_error(elgg_echo('widgets:add:failure'));
-forward(REFERER); \ No newline at end of file
+forward(REFERER);