aboutsummaryrefslogtreecommitdiff
path: root/juick-server-core/src/main/java/com/juick/service
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-03-14 10:04:40 +0300
committerGravatar Vitaly Takmazov2018-03-14 10:04:40 +0300
commitb2f3afebc7de684d1d49042f5f79a9cbf9c1f2f2 (patch)
treeb7d5c7ca5b728751fa16d0085486b305da87d61d /juick-server-core/src/main/java/com/juick/service
parentb1e8980ed1460340fe4e8db2ce0d7ee1d213854a (diff)
refactor email settings
Diffstat (limited to 'juick-server-core/src/main/java/com/juick/service')
-rw-r--r--juick-server-core/src/main/java/com/juick/service/EmailService.java1
-rw-r--r--juick-server-core/src/main/java/com/juick/service/UserService.java3
2 files changed, 1 insertions, 3 deletions
diff --git a/juick-server-core/src/main/java/com/juick/service/EmailService.java b/juick-server-core/src/main/java/com/juick/service/EmailService.java
index ac63f4da..2440bcb4 100644
--- a/juick-server-core/src/main/java/com/juick/service/EmailService.java
+++ b/juick-server-core/src/main/java/com/juick/service/EmailService.java
@@ -27,6 +27,7 @@ public interface EmailService {
boolean addVerificationCode(Integer userId, String account, String code);
boolean addEmail(Integer userId, String email);
boolean deleteEmail(Integer userId, String account);
+ String getNotificationsEmail(Integer userId);
boolean setNotificationsEmail(Integer userId, String account);
List<String> getEmails(Integer userId, boolean active);
}
diff --git a/juick-server-core/src/main/java/com/juick/service/UserService.java b/juick-server-core/src/main/java/com/juick/service/UserService.java
index 6ca6fb98..115c7dfc 100644
--- a/juick-server-core/src/main/java/com/juick/service/UserService.java
+++ b/juick-server-core/src/main/java/com/juick/service/UserService.java
@@ -19,7 +19,6 @@ package com.juick.service;
import com.juick.User;
import com.juick.server.helpers.Auth;
-import com.juick.server.helpers.EmailOpts;
import com.juick.server.helpers.UserInfo;
import java.util.Collection;
@@ -123,8 +122,6 @@ public interface UserService {
List<String> getEmails(User user);
- EmailOpts getEmailOpts(User user);
-
String getEmailHash(User user);
int deleteLoginForUser(String name);