Changeset 1578

Show
Ignore:
Timestamp:
04/15/08 09:22:30 (3 months ago)
Author:
misja
Message:

Misja Hoebe <misja@curverider.co.uk> Applied attachment:ticket:340:commentwall-msg.diff, a trivial enhancement

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • devel/mod/commentwall/lib.php

    r1550 r1578  
    102102        if ($newcomment->ident = insert_record("commentwall", $newcomment)) { 
    103103            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/"); 
    105105            } 
    106106                        $newcomment = plugin_hook("commentwall","publish",$newcomment);