1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-06 08:47:45 +02:00

[ticket/11746] Add "admin activation required" notification.

PHPBB3-11746
This commit is contained in:
Cesar G
2013-10-24 02:37:20 -07:00
parent 2adf3d7a34
commit d607f1c927
7 changed files with 211 additions and 35 deletions

View File

@@ -396,6 +396,9 @@ class acp_users
{
if ($config['require_activation'] == USER_ACTIVATION_ADMIN)
{
$phpbb_notifications = $phpbb_container->get('notification_manager');
$phpbb_notifications->mark_notifications_read('admin_activate_user', $user_row['user_id'], false);
include_once($phpbb_root_path . 'includes/functions_messenger.' . $phpEx);
$messenger = new messenger(false);