Ticket #340: commentwall-msg.diff
| File commentwall-msg.diff, 0.9 kB (added by justinr, 6 months ago) |
|---|
-
mod/commentwall/lib.php
old new 101 101 102 102 if ($newcomment->ident = insert_record("commentwall", $newcomment)) { 103 103 if ($newcomment->comment_owner != $newcomment->wallowner) { 104 notify_user($wall_id, __gettext("Someone has posted to your comment wall"), __gettext("Check it out") . ": " . $CFG->wwwroot . user_info("username", $wall_id) . "/profile/");104 message_user($wall_id, $poster_id, __gettext("Someone has posted to your comment wall"), __gettext("Check it out") . ": " . $CFG->wwwroot . user_info("username", $wall_id) . "/profile/"); 105 105 } 106 106 $newcomment = plugin_hook("commentwall","publish",$newcomment); 107 107 return $newcomment->ident;
