Permalink
Browse files

Revert "disabled a check for changes as a work around for issue 147"

This reverts commit 7a9d168.
  • Loading branch information...
duanefields committed Mar 7, 2012
1 parent 7a9d168 commit e3d7db0f8a415ad699c54198f5098fd59115c59b
Showing with 3 additions and 4 deletions.
  1. +3 −4 Source/MRCoreDataAction.m
@@ -64,11 +64,10 @@ + (void) saveDataWithBlock:(void (^)(NSManagedObjectContext *localContext))block
block(localContext);
- // https://github.com/magicalpanda/MagicalRecord/issues/147
-// if ([localContext hasChanges])
-// {
+ if ([localContext hasChanges])
+ {
[localContext MR_saveWithErrorHandler:errorHandler];
-// }
+ }
localContext.MR_notifiesMainContextOnSave = NO;
[localContext MR_stopObservingiCloudChangesInCoordinator:defaultCoordinator];

0 comments on commit e3d7db0

Please sign in to comment.