From 4f2ed1bcecfaff758ef16a13d7187af6dc914860 Mon Sep 17 00:00:00 2001 From: Peter Zimon Date: Wed, 20 May 2020 11:34:56 +0200 Subject: [PATCH] Removed test email function from Labs no refs. - removes leftover test email section from Labs to resolve a lot of confusion around it --- ghost/admin/app/controllers/settings/labs.js | 13 ------------- ghost/admin/app/templates/settings/labs.hbs | 13 ------------- 2 files changed, 26 deletions(-) diff --git a/ghost/admin/app/controllers/settings/labs.js b/ghost/admin/app/controllers/settings/labs.js index 1864f45f68..1fe00cf9ef 100644 --- a/ghost/admin/app/controllers/settings/labs.js +++ b/ghost/admin/app/controllers/settings/labs.js @@ -217,19 +217,6 @@ export default Controller.extend({ return RSVP.resolve(); }, - sendTestEmail: task(function* () { - let notifications = this.notifications; - let emailUrl = this.get('ghostPaths.url').api('mail', 'test'); - - try { - yield this.ajax.post(emailUrl); - notifications.showAlert('Check your email for the test message.', {type: 'info', key: 'test-email.send.success'}); - return true; - } catch (error) { - notifications.showAPIError(error, {key: 'test-email:send'}); - } - }).drop(), - saveSettings: task(function* () { return yield this.settings.save(); }).drop(), diff --git a/ghost/admin/app/templates/settings/labs.hbs b/ghost/admin/app/templates/settings/labs.hbs index 422c3bfe9f..4de175959e 100644 --- a/ghost/admin/app/templates/settings/labs.hbs +++ b/ghost/admin/app/templates/settings/labs.hbs @@ -213,19 +213,6 @@ -
Testing tools
-
-
-
-
Test email configuration
-
Send yourself a test email to make sure everything is working
-
-
- -
-
-
-