diff --git a/site/themes/arangodb-docs-theme/layouts/partials/version-selector.html b/site/themes/arangodb-docs-theme/layouts/partials/version-selector.html
index 0f91d132bd..8eeed60526 100644
--- a/site/themes/arangodb-docs-theme/layouts/partials/version-selector.html
+++ b/site/themes/arangodb-docs-theme/layouts/partials/version-selector.html
@@ -4,7 +4,5 @@
{{ range $i, $version := $versions }}
{{ end }}
-
-
\ No newline at end of file
diff --git a/site/themes/arangodb-docs-theme/static/js/theme.js b/site/themes/arangodb-docs-theme/static/js/theme.js
index cf6e186757..d51de0122f 100644
--- a/site/themes/arangodb-docs-theme/static/js/theme.js
+++ b/site/themes/arangodb-docs-theme/static/js/theme.js
@@ -414,25 +414,12 @@ function setVersionSelector(version) {
}
}
-function handleOldDocsVersion(version) {
- var legacyUrl = "https://www.arangodb.com/docs/" + version + "/";
- var handle = window.open(legacyUrl, "_blank");
- if (!handle) window.location.href = legacyUrl;
- return;
-}
-
function getCurrentVersion() {
var urlVersion = stableVersion.name
if (window.location.pathname.split("/").length > 0) {
newVersion = getVersionFromURL()
- if (newVersion === "3.8" || newVersion === "3.9") {
- handleOldDocsVersion(newVersion)
- versionSelector.value = urlVersion;
- return;
- }
-
if (getVersionInfo(newVersion) == undefined) {
loadNotFoundPage();
return;
@@ -451,12 +438,6 @@ function changeVersion() {
var versionSelector = document.getElementById("arangodb-version");
var newVersion = versionSelector.options[versionSelector.selectedIndex].value;
- if (newVersion === "3.8" || newVersion === "3.9") {
- handleOldDocsVersion(newVersion)
- versionSelector.value = oldVersion;
- return;
- }
-
try {
localStorage.setItem('docs-version', newVersion);
renderVersion();