From 0de1d65804ef8b68a189703b78381ed2787f6484 Mon Sep 17 00:00:00 2001 From: Marc Alexander Date: Sat, 9 Aug 2014 12:49:32 +0200 Subject: [PATCH] [ticket/12742] Remove unneeded sort of users It doesn't matter which user will get the notification first so we shouldn't sort the users array. PHPBB3-12742 --- phpBB/phpbb/notification/type/base.php | 1 - 1 file changed, 1 deletion(-) diff --git a/phpBB/phpbb/notification/type/base.php b/phpBB/phpbb/notification/type/base.php index 48b368f7f9..895127f831 100644 --- a/phpBB/phpbb/notification/type/base.php +++ b/phpBB/phpbb/notification/type/base.php @@ -550,7 +550,6 @@ abstract class base implements \phpbb\notification\type\type_interface } $users = array_unique($users); - sort($users); $auth_read = $this->auth->acl_get_list($users, 'f_read', $forum_id);