Changeset 1590 for devel/mod/community
- Timestamp:
- 05/13/08 09:15:34 (7 months ago)
- Files:
-
- devel/mod/community/lib/community_member_add.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
devel/mod/community/lib/community_member_add.php
r1583 r1590 30 30 $message_body= sprintf(__gettext("%s has joined %s!\n\nTo visit this user's profile, click on the following link:\n\n\t%s\n\nTo view all community members, click here:\n\n\t%s\n\nRegards,\n\nThe %s team."), $_SESSION['name'], $friend->name, $CFG->wwwroot . user_info("username", $USER->ident) . "/", $CFG->wwwroot . $friend->username . "/community/members", $CFG->sitename); 31 31 $title= sprintf(__gettext("New %s member"), $friend->name); 32 notify_user($owner->ident, $title, $message_body);32 message_user($owner->ident, $friend_id, $title, $message_body); 33 33 plugin_hook("community:member","publish",$f); 34 34 … … 40 40 "%s\n\nTo view all membership requests and approve or deny this user, click here:\n\n\t%s\n\nRegards,\n\nThe %s team."), $_SESSION['name'], $friend->name, $CFG->wwwroot . user_info("username", $USER->ident) . "/", $CFG->wwwroot . $friend->username . "/community/members", $CFG->sitename); 41 41 $title= sprintf(__gettext("New %s member request"), $friend->name); 42 notify_user($owner->ident, $title, $message_body);42 message_user($owner->ident, $friend_id, $title, $message_body); 43 43 } 44 44 } else
