_causedByRemoteUpdate = causedByRemoteUpdate;
_localCacheChanges = new NSMutableArray();
if (!causedByRemoteUpdate) {
Enumeration cosEnum = osc.cooperatingObjectStores().objectEnumerator();
while (cosEnum.hasMoreElements()) {
EOCooperatingObjectStore cos = (EOCooperatingObjectStore) cosEnum.nextElement();
if (cos instanceof ERXDatabaseContext) {
EODatabaseContext dbc = (EODatabaseContext) cos;
ERXDatabase db = (ERXDatabase) dbc.database();
NSArray cacheChanges = ERXObjectStoreCoordinatorSynchronizer.dequeueCacheChanges(db);
if (cacheChanges != null) {