From f5d3b92155b76d2459014372e00d877b21408f49 Mon Sep 17 00:00:00 2001 From: Zeger-Jan van de Weg Date: Mon, 27 Nov 2017 14:31:26 +0100 Subject: Remove Ci::Build#artifacts_file? --- app/models/concerns/artifact_migratable.rb | 4 ---- 1 file changed, 4 deletions(-) (limited to 'app/models') diff --git a/app/models/concerns/artifact_migratable.rb b/app/models/concerns/artifact_migratable.rb index 5c647bacf1b..811a8252459 100644 --- a/app/models/concerns/artifact_migratable.rb +++ b/app/models/concerns/artifact_migratable.rb @@ -6,10 +6,6 @@ module ArtifactMigratable job_archive&.file || legacy_artifacts_file end - def artifacts_file? - job_archive&.file? || legacy_artifacts_file? - end - def artifacts_metadata job_metadata&.file || legacy_artifacts_metadata end -- cgit v1.2.3