diff --git a/install/patches/upd_0094.php b/install/patches/upd_0094.php index bfb363b74f83234e13a1a931ec3f655c6a1b5549..e05f85b7bc06d31aa19529e49ba65f211223ad3e 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