remove useless code

This commit is contained in:
Danmei Chen 2020-03-30 16:07:40 +02:00
parent 6de9ffd2ee
commit 5982b8cb6d

View file

@ -167,7 +167,7 @@
if (num > 2) {
LOGW(@"[PushKit] unexpected pushkit notifications received %d, please clean your sip account.", num);
}
[[UIApplication sharedApplication] unregisterForRemoteNotifications];
// Register for remote notifications.
LOGI(@"[APNs] register for push notif");
[[UIApplication sharedApplication] registerForRemoteNotifications];