소스 검색

Iteration not needed

Sebastián Katzer 11 년 전
부모
커밋
69bcba1c27
1개의 변경된 파일0개의 추가작업 그리고 9개의 파일을 삭제
  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];