Put filterMessagesForRole's docblock back on filterMessagesForRole
The #920 guard landed between the comment and the function it describes.
This commit is contained in:
@@ -47,9 +47,6 @@ class TicketController extends Controller
|
|||||||
->exists();
|
->exists();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Filter messages for submitters — strip internal notes.
|
|
||||||
*/
|
|
||||||
/**
|
/**
|
||||||
* REFUSE A WRITE TO A MERGED TICKET — [central-ticketing] #920.
|
* REFUSE A WRITE TO A MERGED TICKET — [central-ticketing] #920.
|
||||||
*
|
*
|
||||||
@@ -84,6 +81,9 @@ class TicketController extends Controller
|
|||||||
: redirect()->route('ticketing.show', $ticket)->withErrors($errors);
|
: redirect()->route('ticketing.show', $ticket)->withErrors($errors);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Filter messages for submitters — strip internal notes.
|
||||||
|
*/
|
||||||
private function filterMessagesForRole($messages, bool $isAgent)
|
private function filterMessagesForRole($messages, bool $isAgent)
|
||||||
{
|
{
|
||||||
if ($isAgent) {
|
if ($isAgent) {
|
||||||
|
|||||||
Reference in New Issue
Block a user