aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-11-28 00:26:47 +0300
committerGravatar Vitaly Takmazov2018-11-28 00:26:47 +0300
commitd0422b2f977e3ae4ae38e25e3636e5a1cd25d1eb (patch)
tree9de49e9738a2b13dc6112a14cf4c7cbbbefe7ae8 /src/main/java
parent84b25f44d8858134fa63bc3b2c366c3be1debf6f (diff)
Drop deprecated APIs
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/com/juick/server/api/Notifications.java14
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;
- }
}