diff options
author | James Moger <james.moger@gitblit.com> | 2014-06-05 10:23:58 -0400 |
---|---|---|
committer | James Moger <james.moger@gitblit.com> | 2014-06-05 10:23:58 -0400 |
commit | 74221eb302e782ef23777d5c3f0a649ceb321c1e (patch) | |
tree | 2bd26e2e9ccb51a97fa9266c589e703df764994d /src/main/java/com/gitblit/manager/NotificationManager.java | |
parent | 6537deb8b76b7a4725c40a174a7c440385f88e51 (diff) | |
download | gitblit-74221eb302e782ef23777d5c3f0a649ceb321c1e.tar.gz gitblit-74221eb302e782ef23777d5c3f0a649ceb321c1e.zip |
Add method to INotificationManager to return email service status
Diffstat (limited to 'src/main/java/com/gitblit/manager/NotificationManager.java')
-rw-r--r-- | src/main/java/com/gitblit/manager/NotificationManager.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main/java/com/gitblit/manager/NotificationManager.java b/src/main/java/com/gitblit/manager/NotificationManager.java index ba63cfc1..69a611bb 100644 --- a/src/main/java/com/gitblit/manager/NotificationManager.java +++ b/src/main/java/com/gitblit/manager/NotificationManager.java @@ -71,6 +71,11 @@ public class NotificationManager implements INotificationManager { return this; } + @Override + public boolean isSendingMail() { + return mailService.isReady(); + } + /** * Notify the administrators by email. * |