From: Stéphane Jacob Date: Sat, 4 Jun 2011 18:15:43 +0000 (+0200) Subject: Removes duplicated sendTestEmail function. X-Git-Tag: xorg/1.1.2~56 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=c6264a5d23064f27f90b11b09aec2977159adfea;p=platal.git Removes duplicated sendTestEmail function. Signed-off-by: Stéphane Jacob --- diff --git a/htdocs/javascript/xorg.js b/htdocs/javascript/xorg.js index 47bf78b..7cb04c8 100644 --- a/htdocs/javascript/xorg.js +++ b/htdocs/javascript/xorg.js @@ -839,23 +839,6 @@ function previewWiki(idFrom, idTo, withTitle, idShow) } // }}} -// {{{ send test email - -function sendTestEmail(token, hruid) -{ - var url = 'emails/test'; - var msg = "Un email a été envoyé avec succès"; - if (hruid != null) { - url += '/' + hruid; - msg += " sur l'adresse de " + hruid + "."; - } else { - msg += " sur ton addresse."; - } - $('#mail_sent').successMessage($url + '?token=' + token, msg); - return false; -} - -// }}} /*************************************************************************** * Quick search