Commit a0cf4fae authored by Marius Burkard's avatar Marius Burkard
Browse files

Update upd_0094.php

parent e7fe31a7
Pipeline #9438 passed with stage
in 10 minutes and 19 seconds
......@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment