mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 05:50:42 +02:00
[ticket/16208] Code adjustments
PHPBB3-16208
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user