Skip to content
Snippets Groups Projects
Commit 0a857404 authored by helene ortiz's avatar helene ortiz
Browse files

master client

parent 44c4d19a
No related branches found
No related tags found
No related merge requests found
......@@ -29,6 +29,8 @@ import java.util.Set;
import java.util.logging.Level;
import java.util.logging.Logger;
import org.apache.commons.io.FileUtils;
import fr.ill.ics.bridge.ResourceManager;
import fr.ill.ics.client.control.parser.SpyParser;
import fr.ill.ics.client.control.plugin.selection.SelectionTreeData;
......@@ -354,7 +356,7 @@ public class SpyManager {
// Is there something to save ?
if (!spyHolders.isEmpty()) {
createSpiesFile(spiesFile);
/*
// Is this master client ?
if (ConfigManager.getInstance().isMasterClient()) {
try {
......@@ -365,7 +367,6 @@ public class SpyManager {
e.printStackTrace();
}
}
*/
} else {
// Delete user spies file if any
spiesFile.delete();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment