20690: Remove workbench1 and testing/packaging references.
[arvados.git] / apps / workbench / app / helpers / version_helper.rb
diff --git a/apps/workbench/app/helpers/version_helper.rb b/apps/workbench/app/helpers/version_helper.rb
deleted file mode 100644 (file)
index d110712..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-# Copyright (C) The Arvados Authors. All rights reserved.
-#
-# SPDX-License-Identifier: AGPL-3.0
-
-module VersionHelper
-  # Get the source_version given in the API server's discovery
-  # document.
-  def api_source_version
-    arvados_api_client.discovery[:source_version]
-  end
-
-  # Get the packageVersion given in the API server's discovery
-  # document.
-  def api_package_version
-    arvados_api_client.discovery[:packageVersion]
-  end
-
-  # URL for browsing source code for the given version.
-  def version_link_target version
-    "https://dev.arvados.org/projects/arvados/repository/changes?rev=#{version.sub(/-.*/, "")}"
-  end
-end