mirror of
https://github.com/syncthing/syncthing-android.git
synced 2024-12-24 11:51:30 +00:00
Removed code to change web GUI port.
Everyone should have the proper port by now.
This commit is contained in:
parent
08de76b873
commit
cda820aaed
1 changed files with 1 additions and 12 deletions
|
@ -108,7 +108,7 @@ public class ConfigXml {
|
||||||
/**
|
/**
|
||||||
* Updates the config file.
|
* Updates the config file.
|
||||||
* <p/>
|
* <p/>
|
||||||
* Coming from 0.3.0 and earlier, the ignorePerms flag is set to true on every folder.
|
* Sets ignorePerms flag to true on every folder.
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings("SdCardPath")
|
@SuppressWarnings("SdCardPath")
|
||||||
private void updateIfNeeded() {
|
private void updateIfNeeded() {
|
||||||
|
@ -143,17 +143,6 @@ public class ConfigXml {
|
||||||
changed = true;
|
changed = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Update deprecated 8080 port to 8384
|
|
||||||
NodeList addressList = gui.getElementsByTagName("address");
|
|
||||||
for (int i = 0; i < addressList.getLength(); i++) {
|
|
||||||
Element g = (Element) addressList.item(i);
|
|
||||||
if (g.getTextContent().equals("127.0.0.1:8080")) {
|
|
||||||
Log.i(TAG, "Replacing 127.0.0.1:8080 address with 127.0.0.1:8384");
|
|
||||||
g.setTextContent("127.0.0.1:8384");
|
|
||||||
changed = true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if (changed) {
|
if (changed) {
|
||||||
saveChanges();
|
saveChanges();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue