mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/16208] Code adjustments
PHPBB3-16208
This commit is contained in:
parent
242476c290
commit
856fcf7554
2 changed files with 3 additions and 4 deletions
|
@ -2,7 +2,7 @@ Subject: Report closed - "{POST_SUBJECT}"
|
|||
|
||||
Hello {USERNAME},
|
||||
|
||||
You are receiving this notification because the report you filed on the post "{POST_SUBJECT}" by "{AUTHOR_NAME}" in "{TOPIC_TITLE}" topic at "{SITENAME}" was handled by a moderator or by an administrator. The report was afterwards closed. If you have further questions contact {CLOSER_NAME} with a personal message.
|
||||
You are receiving this notification because the report you filed on the post "{POST_SUBJECT}" by "{AUTHOR_NAME}" in "{TOPIC_TITLE}" at "{SITENAME}" was handled by a moderator or by an administrator. The report was afterwards closed. If you have further questions contact {CLOSER_NAME} with a personal message.
|
||||
|
||||
You can view your reported post by clicking on the following link:
|
||||
|
||||
|
|
|
@ -84,11 +84,10 @@ class report_pm extends \phpbb\notification\type\pm
|
|||
*/
|
||||
public function is_available()
|
||||
{
|
||||
return !empty($this->auth->acl_get($this->permission)) &&
|
||||
$this->config['allow_pm_report'];
|
||||
return $this->config['allow_pm_report'] &&
|
||||
!empty($this->auth->acl_get($this->permission));
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Find the users who want to receive notifications
|
||||
* (copied from post_in_queue)
|
||||
|
|
Loading…
Add table
Reference in a new issue