mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-06 22:40:14 -05:00
Cleaned up unused controller method
- this isn't being used anywhere, so we can clean it up
This commit is contained in:
parent
1fd155d56a
commit
dccb4ac84e
1 changed files with 0 additions and 18 deletions
|
@ -47,24 +47,6 @@ const controller = {
|
||||||
query(frame) {
|
query(frame) {
|
||||||
return _private.sendMail(frame.data);
|
return _private.sendMail(frame.data);
|
||||||
}
|
}
|
||||||
},
|
|
||||||
|
|
||||||
sendTest(frame) {
|
|
||||||
return mailService.utils.generateContent({template: 'test'})
|
|
||||||
.then((content) => {
|
|
||||||
const payload = {
|
|
||||||
mail: [{
|
|
||||||
message: {
|
|
||||||
to: frame.user.get('email'),
|
|
||||||
subject: tpl(messages.testGhostEmail),
|
|
||||||
html: content.html,
|
|
||||||
text: content.text
|
|
||||||
}
|
|
||||||
}]
|
|
||||||
};
|
|
||||||
|
|
||||||
return _private.sendMail(payload);
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue