mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Don't send the test mail twice
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
42e805f057
commit
e938663329
1 changed files with 0 additions and 4 deletions
|
|
@ -231,7 +231,6 @@ $(document).ready(function(){
|
|||
$.ajax({
|
||||
url: OC.generateUrl('/settings/admin/mailtest'),
|
||||
type: 'POST',
|
||||
data: $('#mail_credentials_settings').serialize(),
|
||||
success: function(){
|
||||
OC.msg.finishedSuccess('#sendtestmail_msg', t('settings', 'Email sent'));
|
||||
},
|
||||
|
|
@ -239,9 +238,6 @@ $(document).ready(function(){
|
|||
OC.msg.finishedError('#sendtestmail_msg', xhr.responseJSON);
|
||||
}
|
||||
});
|
||||
$.post(OC.generateUrl('/settings/admin/mailtest'), '', function(data){
|
||||
OC.msg.finishedAction('#sendtestmail_msg', data);
|
||||
});
|
||||
});
|
||||
|
||||
$('#allowGroupSharing').change(function() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue