From 55d30884b8e892c3c5bc3a2744363ff1adbd5c77 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 24 Oct 2021 13:15:01 +0200 Subject: [PATCH] Remove strange code --- htdocs/core/class/notify.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/core/class/notify.class.php b/htdocs/core/class/notify.class.php index 7128a6cf01d..a88f673405c 100644 --- a/htdocs/core/class/notify.class.php +++ b/htdocs/core/class/notify.class.php @@ -116,7 +116,7 @@ class Notify foreach ($listofnotiftodo as $val) { if ($val['type'] == 'touser') { unset($listofnotiftodo[$val['email']]); - $listofnotiftodo = array_merge($listofnotiftodo); + //$listofnotiftodo = array_merge($listofnotiftodo); } } } @@ -124,7 +124,7 @@ class Notify foreach ($listofnotiftodo as $val) { if ($val['type'] == 'tofixedemail') { unset($listofnotiftodo[$val['email']]); - $listofnotiftodo = array_merge($listofnotiftodo); + //$listofnotiftodo = array_merge($listofnotiftodo); } } }