diff options
Diffstat (limited to 'phpBB/includes/functions_messenger.php')
-rw-r--r-- | phpBB/includes/functions_messenger.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/phpBB/includes/functions_messenger.php b/phpBB/includes/functions_messenger.php index 71c775864f..573423fb19 100644 --- a/phpBB/includes/functions_messenger.php +++ b/phpBB/includes/functions_messenger.php @@ -147,7 +147,7 @@ class messenger } // Send the mail out to the recipients set previously in var $this->address - function send($method = NOTIFY_EMAIL) + function send($method = NOTIFY_EMAIL, $break = false) { global $config, $user; @@ -198,6 +198,11 @@ class messenger $this->msg = trim(preg_replace('#' . $drop_header . '#s', '', $this->msg)); } + if ($break) + { + return; + } + switch ($method) { case NOTIFY_EMAIL: |