Explorar o código

Iteration not needed

Sebastián Katzer %!s(int64=11) %!d(string=hai) anos
pai
achega
69bcba1c27
Modificáronse 1 ficheiros con 0 adicións e 9 borrados
  1. 0 9
      src/ios/APPLocalNotification.m

+ 0 - 9
src/ios/APPLocalNotification.m

@@ -355,15 +355,6 @@
  */
 - (void) cancelAllLocalNotifications
 {
-    NSArray* notifications;
-
-    notifications = [[UIApplication sharedApplication]
-                     scheduledLocalNotifications];
-
-    for (UILocalNotification* notification in notifications) {
-        [self cancelLocalNotification:notification];
-    }
-
     [[UIApplication sharedApplication]
      cancelAllLocalNotifications];