From 303f165cbae8367c19ea273fc52170c2a354a8d6 Mon Sep 17 00:00:00 2001 From: Kamil Trzcinski Date: Thu, 2 Nov 2017 12:16:50 +0100 Subject: Fix creation of job_artifact_uploader --- app/uploaders/job_artifact_uploader.rb | 6 ------ 1 file changed, 6 deletions(-) (limited to 'app/uploaders/job_artifact_uploader.rb') diff --git a/app/uploaders/job_artifact_uploader.rb b/app/uploaders/job_artifact_uploader.rb index 6ea6a85b4a2..cc6e1927f9e 100644 --- a/app/uploaders/job_artifact_uploader.rb +++ b/app/uploaders/job_artifact_uploader.rb @@ -3,12 +3,6 @@ class JobArtifactUploader < ArtifactUploader @artifact = artifact end - # If this record exists, the associatied artifact is there. Every artifact - # persisted will have an associated file - def exists? - true - end - def size return super unless @artifact.size -- cgit v1.2.3