Index: remoting/host/me2me_preference_pane.mm |
diff --git a/remoting/host/me2me_preference_pane.mm b/remoting/host/me2me_preference_pane.mm |
index ac33b13eb329ad3a275c923e5725bf0d183b85ce..c360c4bc8b933933068b3959d9a2debee6a6b2b6 100644 |
--- a/remoting/host/me2me_preference_pane.mm |
+++ b/remoting/host/me2me_preference_pane.mm |
@@ -327,8 +327,8 @@ std::string JsonHostConfig::GetSerializedData() const { |
[service_status_timer_ invalidate]; |
[service_status_timer_ release]; |
service_status_timer_ = nil; |
- if (have_new_config_) |
- [self notifyPlugin:kUpdateFailedNotificationName]; |
+ |
+ [self notifyPlugin:kUpdateFailedNotificationName]; |
} |
- (void)applyConfiguration:(id)sender |
@@ -753,8 +753,6 @@ std::string JsonHostConfig::GetSerializedData() const { |
NSLog(@"Failed to get path of configuration data."); |
return; |
} |
- if (access(file.c_str(), F_OK) != 0) |
- return; |
remove(file.c_str()); |
[self notifyPlugin:kUpdateFailedNotificationName]; |