Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

This reverts commit 7a9d168.
  • Loading branch information...
commit e3d7db0f8a415ad699c54198f5098fd59115c59b 1 parent 7a9d168
@duanefields duanefields authored
Showing with 3 additions and 4 deletions.
  1. +3 −4 Source/MRCoreDataAction.m
View
7 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];
Please sign in to comment.
Something went wrong with that request. Please try again.