diff options
author | Cesar G <prototech91@gmail.com> | 2013-10-24 02:37:20 -0700 |
---|---|---|
committer | Cesar G <prototech91@gmail.com> | 2013-10-24 02:37:20 -0700 |
commit | d607f1c927ed6fb54d6c46eb13b5bcd4133f8cfc (patch) | |
tree | 28e6ee53079f2a80446832aea4b95b2d6aa23cf4 /phpBB/includes/acp/acp_users.php | |
parent | 2adf3d7a3473fe8d01e850329bd935e97f09668d (diff) | |
download | forums-d607f1c927ed6fb54d6c46eb13b5bcd4133f8cfc.tar forums-d607f1c927ed6fb54d6c46eb13b5bcd4133f8cfc.tar.gz forums-d607f1c927ed6fb54d6c46eb13b5bcd4133f8cfc.tar.bz2 forums-d607f1c927ed6fb54d6c46eb13b5bcd4133f8cfc.tar.xz forums-d607f1c927ed6fb54d6c46eb13b5bcd4133f8cfc.zip |
[ticket/11746] Add "admin activation required" notification.
PHPBB3-11746
Diffstat (limited to 'phpBB/includes/acp/acp_users.php')
-rw-r--r-- | phpBB/includes/acp/acp_users.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/phpBB/includes/acp/acp_users.php b/phpBB/includes/acp/acp_users.php index 8853200ddc..2a79ec05c0 100644 --- a/phpBB/includes/acp/acp_users.php +++ b/phpBB/includes/acp/acp_users.php @@ -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); |