Permalink
Browse files

MDL-23755 remove erroneous sleep() call when messages are sent

Results in big speed boost when sending messages to multiple recipients.
  • Loading branch information...
1 parent 4afe958 commit 7a8868f00a476f4f8678a7f1ab2624867a0fa9bb Ashley Holman committed Aug 12, 2010
Showing with 0 additions and 2 deletions.
  1. +0 −2 message/lib.php
View
@@ -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);
}
}

0 comments on commit 7a8868f

Please sign in to comment.