MDL-23755 remove erroneous sleep() call when messages are sent
Results in big speed boost when sending messages to multiple recipients.
This commit is contained in:
@@ -998,8 +998,6 @@ function message_post_message($userfrom, $userto, $message, $format, $messagetyp
|
||||
if (email_to_user($userto, $userfrom, $messagesubject, $messagetext, $messagehtml)) {
|
||||
$CFG->messagewasjustemailed = true;
|
||||
}
|
||||
|
||||
sleep(3);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user