1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-11 11:13:59 +02:00

[ticket/13713] Introduce ACP settings for mentions

PHPBB3-13713
This commit is contained in:
lavigor
2018-06-15 02:03:57 +03:00
committed by Marc Alexander
parent 012d009fbe
commit 31e4fb4729
14 changed files with 101 additions and 13 deletions

View File

@@ -58,7 +58,7 @@ class mention extends \phpbb\notification\type\post
*/
public function is_available()
{
return true;
return $this->config['allow_mentions'] && $this->auth->acl_get('u_mention');
}
/**