aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2024-02-18 21:27:59 -0800
committerGitHub <noreply@github.com>2024-02-18 21:27:59 -0800
commit26548bb534de6c9944ece5a2aa5216da83cb8819 (patch)
treec69795f226de50c868ff5aefe86c99a579dfa265 /src/main/java/org
parent51d6275a3cb5ed50c34dd2b0ca1252860793244a (diff)
parent15a478a959ea6ff4000c6b14d54edc9d2c37e06d (diff)
downloadtrackermap-server-26548bb534de6c9944ece5a2aa5216da83cb8819.tar.gz
trackermap-server-26548bb534de6c9944ece5a2aa5216da83cb8819.tar.bz2
trackermap-server-26548bb534de6c9944ece5a2aa5216da83cb8819.zip
Merge pull request #5268 from MeysamRT76/update-server-resource
Refactor: Remove redundant code in the 'get' method (ServerResource.java).
Diffstat (limited to 'src/main/java/org')
-rw-r--r--src/main/java/org/traccar/api/resource/ServerResource.java3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/main/java/org/traccar/api/resource/ServerResource.java b/src/main/java/org/traccar/api/resource/ServerResource.java
index 66ecc74e1..2a72d2773 100644
--- a/src/main/java/org/traccar/api/resource/ServerResource.java
+++ b/src/main/java/org/traccar/api/resource/ServerResource.java
@@ -100,9 +100,6 @@ public class ServerResource extends BaseResource {
} else {
server.setNewServer(UserUtil.isEmpty(storage));
}
- if (user != null && user.getAdministrator()) {
- server.setStorageSpace(Log.getStorageSpace());
- }
return server;
}