mirror of
https://github.com/zhigang1992/MagicalRecord.git
synced 2026-01-12 17:32:18 +08:00
Remove extra block
This commit is contained in:
@@ -40,13 +40,7 @@ void reset_action_queue(void)
|
||||
|
||||
if ([localContext hasChanges])
|
||||
{
|
||||
[localContext MR_saveInBackgroundErrorHandler:errorHandler completion:^{
|
||||
|
||||
if (completion)
|
||||
{
|
||||
completion();
|
||||
}
|
||||
}];
|
||||
[localContext MR_saveInBackgroundErrorHandler:errorHandler completion:completion];
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user