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:
Ashley Holman
2010-08-12 07:07:48 +00:00
parent 4afe9581ab
commit 7a8868f00a
-2
View File
@@ -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);
}
}