Commit 69bcba1c authored by Sebastián Katzer's avatar Sebastián Katzer
Browse files

Iteration not needed

parent 9e93c40b
Loading
Loading
Loading
Loading
+0 −9
Changes for src/ios/APPLocalNotification.m: 0 added lines, 9 removed lines.
Original line number Diff line number Diff line
@@ -355,15 +355,6 @@
 */
- (void) cancelAllLocalNotifications
{
    NSArray* notifications;

    notifications = [[UIApplication sharedApplication]
                     scheduledLocalNotifications];

    for (UILocalNotification* notification in notifications) {
        [self cancelLocalNotification:notification];
    }

    [[UIApplication sharedApplication]
     cancelAllLocalNotifications];