From a0cf4fae5acb124ab45aae7bb9fe58ae6dc899cd Mon Sep 17 00:00:00 2001
From: Marius Burkard <m.burkard@pixcept.de>
Date: Wed, 8 Sep 2021 08:20:18 +0000
Subject: [PATCH] Update upd_0094.php

---
 install/patches/upd_0094.php | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/install/patches/upd_0094.php b/install/patches/upd_0094.php
index bfb363b74f..e05f85b7bc 100644
--- a/install/patches/upd_0094.php
+++ b/install/patches/upd_0094.php
@@ -2,14 +2,13 @@
 
 if(!defined('INSTALLER_RUN')) die('Patch update file access violation.');
 
-/*class upd_0094 extends installer_patch_update {
+class upd_0094 extends installer_patch_update {
 
 	public function onBeforeSQL() {
 		global $inst;
 
 		// Remove any duplicate mail_forwardings prior to adding unique key
-		$inst->db->query("DELETE FROM mail_forwarding WHERE forwarding_id IN (SELECT forwarding_id FROM (SELECT forwarding_id, COUNT(source) AS source_count FROM mail_forwarding GROUP BY source HAVING source_count > 1) as t1)");
+		//$inst->db->query("DELETE FROM mail_forwarding WHERE forwarding_id IN (SELECT forwarding_id FROM (SELECT forwarding_id, COUNT(source) AS source_count FROM mail_forwarding GROUP BY source HAVING source_count > 1) as t1)");
 	}
 
 }
-*/
\ No newline at end of file
-- 
GitLab