summaryrefslogtreecommitdiffstats
path: root/src/WebAdmin.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-04-27 22:42:22 +0200
committerMattes D <github@xoft.cz>2014-04-27 22:42:22 +0200
commit051bb8cfbdfcf110d7eb9531f6f8311d2afe68b6 (patch)
tree9af1851cfba5c7aaa08212f6723a92a847122e15 /src/WebAdmin.cpp
parentMerge pull request #959 from mc-server/fixes-2 (diff)
parentRemoved Old Asserts (diff)
downloadcuberite-051bb8cfbdfcf110d7eb9531f6f8311d2afe68b6.tar
cuberite-051bb8cfbdfcf110d7eb9531f6f8311d2afe68b6.tar.gz
cuberite-051bb8cfbdfcf110d7eb9531f6f8311d2afe68b6.tar.bz2
cuberite-051bb8cfbdfcf110d7eb9531f6f8311d2afe68b6.tar.lz
cuberite-051bb8cfbdfcf110d7eb9531f6f8311d2afe68b6.tar.xz
cuberite-051bb8cfbdfcf110d7eb9531f6f8311d2afe68b6.tar.zst
cuberite-051bb8cfbdfcf110d7eb9531f6f8311d2afe68b6.zip
Diffstat (limited to 'src/WebAdmin.cpp')
-rw-r--r--src/WebAdmin.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/WebAdmin.cpp b/src/WebAdmin.cpp
index a3b3cc5be..737705d7c 100644
--- a/src/WebAdmin.cpp
+++ b/src/WebAdmin.cpp
@@ -285,11 +285,6 @@ void cWebAdmin::HandleWebadminRequest(cHTTPConnection & a_Connection, cHTTPReque
Content = GetDefaultPage();
}
- if (ShouldWrapInTemplate && (URL.size() > 1))
- {
- Content += "\n<p><a href='" + BaseURL + "'>Go back</a></p>";
- }
-
int MemUsageKiB = cRoot::GetPhysicalRAMUsage();
if (MemUsageKiB > 0)
{