diff --git a/install/mysql.sql b/install/mysql.sql index b9fa7011..d2677114 100644 --- a/install/mysql.sql +++ b/install/mysql.sql @@ -671,7 +671,8 @@ select distinct concat(`m`.`login`,'@',`v`.`value`) AS `mail`, `m`.`mail` AS `alias` from - ((`membres` `m` join `variable` `v`) join `domaines` `d`) + `membres` `m`, + `variable` `v` where `v`.`name` = 'mailname_bounce' @@ -682,10 +683,12 @@ select distinct concat('alterncpanel','@',`v`.`value`) AS `mail`, `m`.`mail` AS `alias` from - ((`membres` `m` join `variable` `v`) join `domaines` `d`) + `membres` `m`, + `variable` `v` where - (`v`.`name` = 'mailname_bounce' AND `m`.`uid`=2000); + (`v`.`name` = 'mailname_bounce' AND `m`.`uid`=2000) +; -- -- Structure de la table `piwik_users` diff --git a/install/upgrades/3.2.1~a.sql b/install/upgrades/3.2.1~a.sql index 575c5fee..5ab5f631 100644 --- a/install/upgrades/3.2.1~a.sql +++ b/install/upgrades/3.2.1~a.sql @@ -27,7 +27,8 @@ select distinct concat(`m`.`login`,'@',`v`.`value`) AS `mail`, `m`.`mail` AS `alias` from - ((`membres` `m` join `variable` `v`) join `domaines` `d`) + `membres` `m`, + `variable` `v` where `v`.`name` = 'mailname_bounce' @@ -38,7 +39,13 @@ select distinct concat('alterncpanel','@',`v`.`value`) AS `mail`, `m`.`mail` AS `alias` from - ((`membres` `m` join `variable` `v`) join `domaines` `d`) + `membres` `m`, + `variable` `v` where - (`v`.`name` = 'mailname_bounce' AND `m`.`uid`=2000); + (`v`.`name` = 'mailname_bounce' AND `m`.`uid`=2000) + +; + + +