Index: branches/5.3.x/core/units/helpers/mailing_list_helper.php =================================================================== diff -u -N -r16519 -r16597 --- branches/5.3.x/core/units/helpers/mailing_list_helper.php (.../mailing_list_helper.php) (revision 16519) +++ branches/5.3.x/core/units/helpers/mailing_list_helper.php (.../mailing_list_helper.php) (revision 16597) @@ -1,6 +1,6 @@ Application->recallObject('EmailSender'); - $messages = $this->getMessages(); + if ( !isset($messages) ) { + $messages = $this->getMessages(); + } + else { + kUtil::deprecatedArgument(__METHOD__, '5.3.0-B1', 'The "$messages" parameter is deprecated.'); + } + $message_count = count($messages); if ( !$message_count ) { @@ -383,4 +391,4 @@ return $value; } - } \ No newline at end of file + }