Manos Chorianopoulos

fix sendDeviceInfoIfNecessary

...@@ -365,11 +365,11 @@ static const char* jailbreak_apps[] = ...@@ -365,11 +365,11 @@ static const char* jailbreak_apps[] =
365 BOOL application_data_has_changed = ![[self applicationData] isEqualToDictionary:oldApplicationData]; 365 BOOL application_data_has_changed = ![[self applicationData] isEqualToDictionary:oldApplicationData];
366 366
367 // TODO: DELETE 367 // TODO: DELETE
368 - NSLog(@"oldDeviceInfo: %@",oldDeviceInfo); 368 + // NSLog(@"oldDeviceInfo: %@",oldDeviceInfo);
369 - NSLog(@"device_info_has_changed: %@",device_info_has_changed); 369 + // NSLog(@"device_info_has_changed: %@",device_info_has_changed);
370 - NSLog(@"oldApplicationData: %@",oldApplicationData); 370 + // NSLog(@"oldApplicationData: %@",oldApplicationData);
371 - NSLog(@"application_data_has_changed: %@",application_data_has_changed); 371 + // NSLog(@"application_data_has_changed: %@",application_data_has_changed);
372 - NSLog(@"_isMissingDeviceInfo: %@",_isMissingDeviceInfo); 372 + // NSLog(@"_isMissingDeviceInfo: %@",_isMissingDeviceInfo);
373 373
374 if (device_info_has_changed || application_data_has_changed || _isMissingDeviceInfo) { 374 if (device_info_has_changed || application_data_has_changed || _isMissingDeviceInfo) {
375 [self sendDeviceInfo]; 375 [self sendDeviceInfo];
...@@ -414,11 +414,11 @@ static const char* jailbreak_apps[] = ...@@ -414,11 +414,11 @@ static const char* jailbreak_apps[] =
414 BOOL application_data_has_changed = ![[self applicationData] isEqualToDictionary:oldApplicationData]; 414 BOOL application_data_has_changed = ![[self applicationData] isEqualToDictionary:oldApplicationData];
415 415
416 // TODO: DELETE 416 // TODO: DELETE
417 - NSLog(@"oldDeviceInfo: %@",oldDeviceInfo); 417 + // NSLog(@"oldDeviceInfo: %@",oldDeviceInfo);
418 - NSLog(@"device_info_has_changed: %@",device_info_has_changed); 418 + // NSLog(@"device_info_has_changed: %@",device_info_has_changed);
419 - NSLog(@"oldApplicationData: %@",oldApplicationData); 419 + // NSLog(@"oldApplicationData: %@",oldApplicationData);
420 - NSLog(@"application_data_has_changed: %@",application_data_has_changed); 420 + // NSLog(@"application_data_has_changed: %@",application_data_has_changed);
421 - NSLog(@"_isMissingDeviceInfo: %@",_isMissingDeviceInfo); 421 + // NSLog(@"_isMissingDeviceInfo: %@",_isMissingDeviceInfo);
422 422
423 // if (device_info_has_changed || application_data_has_changed || _isMissingDeviceInfo) { 423 // if (device_info_has_changed || application_data_has_changed || _isMissingDeviceInfo) {
424 [self sendDeviceInfo:newDeviceToken]; 424 [self sendDeviceInfo:newDeviceToken];
......