Commit 69bcba1c by Sebastián Katzer

Iteration not needed

parent 9e93c40b
......@@ -355,15 +355,6 @@
*/
- (void) cancelAllLocalNotifications
{
NSArray* notifications;
notifications = [[UIApplication sharedApplication]
scheduledLocalNotifications];
for (UILocalNotification* notification in notifications) {
[self cancelLocalNotification:notification];
}
[[UIApplication sharedApplication]
cancelAllLocalNotifications];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment