Permalink
Browse files

Remove extra block

  • Loading branch information...
1 parent a7aac60 commit 4cb9564a89fef190eda356853158829bdfcb7969 @casademora casademora committed May 27, 2012
Showing with 1 addition and 7 deletions.
  1. +1 −7 MagicalRecord/Core/MagicalRecord+Actions.m
@@ -40,13 +40,7 @@ + (void) saveInBackgroundUsingContext:(NSManagedObjectContext *)localContext blo
if ([localContext hasChanges])
{
- [localContext MR_saveInBackgroundErrorHandler:errorHandler completion:^{
-
- if (completion)
- {
- completion();
- }
- }];
+ [localContext MR_saveInBackgroundErrorHandler:errorHandler completion:completion];
}
});
}

0 comments on commit 4cb9564

Please sign in to comment.