diff options
author | dave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-02-13 13:56:40 +0000 |
---|---|---|
committer | dave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-02-13 13:56:40 +0000 |
commit | 1d023ffb53e1383d2aeb5a44fa76daae959bbe8d (patch) | |
tree | 20dfc4c0e92908ad6906ca0be04d403e7fbaab27 /actions | |
parent | c7d73bc6db9d52a918f0d4ee82d802032f14729c (diff) | |
download | elgg-1d023ffb53e1383d2aeb5a44fa76daae959bbe8d.tar.gz elgg-1d023ffb53e1383d2aeb5a44fa76daae959bbe8d.tar.bz2 |
new annotations activity view
git-svn-id: https://code.elgg.org/elgg/trunk@2743 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'actions')
-rw-r--r-- | actions/comments/add.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/actions/comments/add.php b/actions/comments/add.php index 1202a30ec..ea3b0326e 100644 --- a/actions/comments/add.php +++ b/actions/comments/add.php @@ -11,7 +11,7 @@ */
// Make sure we're logged in; forward to the front page if not
- gatekeeper(); + gatekeeper();
action_gatekeeper();
// Get input
@@ -38,6 +38,9 @@ );
system_message(elgg_echo("generic_comment:posted"));
+ //add to river
+ add_to_river('annotation/annotate','comment',$_SESSION['user']->guid,$entity->guid);
+
} else {
register_error(elgg_echo("generic_comment:failure"));
|