diff options
author | 2018-11-28 00:26:47 +0300 | |
---|---|---|
committer | 2018-11-28 00:26:47 +0300 | |
commit | d0422b2f977e3ae4ae38e25e3636e5a1cd25d1eb (patch) | |
tree | 9de49e9738a2b13dc6112a14cf4c7cbbbefe7ae8 /src/main/java/com/juick/server/api/Notifications.java | |
parent | 84b25f44d8858134fa63bc3b2c366c3be1debf6f (diff) |
Drop deprecated APIs
Diffstat (limited to 'src/main/java/com/juick/server/api/Notifications.java')
-rw-r--r-- | src/main/java/com/juick/server/api/Notifications.java | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/main/java/com/juick/server/api/Notifications.java b/src/main/java/com/juick/server/api/Notifications.java index 2971a07d..000a9f3b 100644 --- a/src/main/java/com/juick/server/api/Notifications.java +++ b/src/main/java/com/juick/server/api/Notifications.java @@ -193,13 +193,6 @@ public class Notifications { } @Deprecated - @RequestMapping(value = "/api/android/unregister", method = RequestMethod.GET, produces = MediaType.APPLICATION_JSON_UTF8_VALUE) - public Status doAndroidUnRegister(@RequestParam(name = "regid") String regId) { - pushQueriesService.deleteGCMToken(regId); - return Status.OK; - } - - @Deprecated @RequestMapping(value = "/api/winphone/register", method = RequestMethod.GET, produces = MediaType.APPLICATION_JSON_UTF8_VALUE) public Status doWinphoneRegister( Principal principal, @@ -208,11 +201,4 @@ public class Notifications { pushQueriesService.addMPNSToken(visitor.getUid(), regId); return Status.OK; } - - @Deprecated - @RequestMapping(value = "/api/winphone/unregister", method = RequestMethod.GET, produces = MediaType.APPLICATION_JSON_UTF8_VALUE) - public Status doWinphoneUnRegister(@RequestParam(name = "url") String regId) { - pushQueriesService.deleteMPNSToken(regId); - return Status.OK; - } } |