summaryrefslogtreecommitdiff
path: root/app/uploaders/job_artifact_uploader.rb
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2017-11-02 12:16:50 +0100
committerKamil Trzcinski <ayufan@ayufan.eu>2017-12-03 12:04:48 +0100
commit303f165cbae8367c19ea273fc52170c2a354a8d6 (patch)
tree169d40f5e4f7b31b0f74be2500cfc87601c93c42 /app/uploaders/job_artifact_uploader.rb
parent61864a5a5bb523953589c9398a431c4369fbfc76 (diff)
downloadgitlab-ce-303f165cbae8367c19ea273fc52170c2a354a8d6.tar.gz
Fix creation of job_artifact_uploader
Diffstat (limited to 'app/uploaders/job_artifact_uploader.rb')
-rw-r--r--app/uploaders/job_artifact_uploader.rb6
1 files changed, 0 insertions, 6 deletions
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