mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 08:47:45 +02:00
my turn to break the forum (and at least pm's are no longer working - will not last long). HARRRR
git-svn-id: file:///svn/phpbb/trunk@4978 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -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:
|
||||
|
Reference in New Issue
Block a user