Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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

Results in big speed boost when sending messages to multiple recipients.
  • Loading branch information...
commit 7a8868f00a476f4f8678a7f1ab2624867a0fa9bb 1 parent 4afe958
Ashley Holman ashleyholman authored

Showing 1 changed file with 0 additions and 2 deletions. Show diff stats Hide diff stats

  1. +0 2  message/lib.php
2  message/lib.php
@@ -998,8 +998,6 @@ function message_post_message($userfrom, $userto, $message, $format, $messagetyp
998 998 if (email_to_user($userto, $userfrom, $messagesubject, $messagetext, $messagehtml)) {
999 999 $CFG->messagewasjustemailed = true;
1000 1000 }
1001   -
1002   - sleep(3);
1003 1001 }
1004 1002 }
1005 1003

0 comments on commit 7a8868f

Please sign in to comment.
Something went wrong with that request. Please try again.