Skip to content

Commit 408fcdf

Browse files
authored
Remove an old redirect that no one has used in a long time (#17868)
1 parent 3de5c74 commit 408fcdf

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

lib/redirects/get-old-paths-from-permalink.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,6 @@ module.exports = function getOldPathsFromPath (currentPath, languageCode, curren
5353
.replace('/user/', '/'))
5454
}
5555

56-
// create old path /enterprise/foo from current path /enterprise/latest/user/foo
57-
oldPaths.add(currentPath
58-
.replace(`/enterprise/${latest}/user/`, '/enterprise/'))
59-
6056
// ------ END LEGACY VERSION FORMAT REPLACEMENTS ------//
6157

6258
// ------ BEGIN MODERN VERSION FORMAT REPLACEMENTS ------//

0 commit comments

Comments
 (0)