Commit dde1201b authored by Robert Lyon's avatar Robert Lyon
Browse files

Getting the accept friend to email requestor (Bug #1389906)

This was an oversight from the original commit
647c8549



Change-Id: Ie0d5e0306b2cf329574092387ac4c1a233ec2347
Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
parent d2358786
......@@ -2150,6 +2150,9 @@ function acceptfriend_submit(Pieform $form, $values) {
db_commit();
require_once('activity.php');
activity_occurred('maharamessage', $n);
handle_event('addfriend', array('user' => $f->usr2, 'friend' => $f->usr1));
$SESSION->add_ok_msg(get_string('friendformacceptsuccess', 'group'));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment