mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/17135] Refactor messenger code to services
PHPBB3-17135
This commit is contained in:
@@ -85,7 +85,7 @@ class admin_form extends form
|
||||
/**
|
||||
* {inheritDoc}
|
||||
*/
|
||||
public function submit(\messenger $messenger)
|
||||
public function submit(\phpbb\di\service_collection $messenger)
|
||||
{
|
||||
if (!$this->subject)
|
||||
{
|
||||
|
@@ -108,7 +108,7 @@ class topic_form extends form
|
||||
/**
|
||||
* {inheritDoc}
|
||||
*/
|
||||
public function submit(\messenger $messenger)
|
||||
public function submit(\phpbb\di\service_collection $messenger)
|
||||
{
|
||||
if (!$this->recipient_address || !preg_match('/^' . get_preg_expression('email') . '$/i', $this->recipient_address))
|
||||
{
|
||||
|
@@ -96,7 +96,7 @@ class user_form extends form
|
||||
/**
|
||||
* {inheritDoc}
|
||||
*/
|
||||
public function submit(\messenger $messenger)
|
||||
public function submit(\phpbb\di\service_collection $messenger)
|
||||
{
|
||||
if (!$this->subject)
|
||||
{
|
||||
|
Reference in New Issue
Block a user