summaryrefslogtreecommitdiffstats
path: root/settings
diff options
context:
space:
mode:
Diffstat (limited to 'settings')
-rw-r--r--settings/js/admin.js4
1 files changed, 0 insertions, 4 deletions
diff --git a/settings/js/admin.js b/settings/js/admin.js
index 475fecf604e..177f6d3f7f4 100644
--- a/settings/js/admin.js
+++ b/settings/js/admin.js
@@ -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() {