summaryrefslogtreecommitdiff
path: root/app/workers
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2015-12-17 19:25:28 +0100
committerJames Edwards-Jones <jedwardsjones@gitlab.com>2017-01-31 22:53:55 +0000
commit94fdf58a87f8f2cc54c0482a2fce9e3fa425d4b9 (patch)
tree63343874a29cc4213b935f8d5a5fcbee6579149b /app/workers
parent38028d92539afb70ab6c1d5ec0d03299a9d2c1db (diff)
downloadgitlab-ce-94fdf58a87f8f2cc54c0482a2fce9e3fa425d4b9.tar.gz
Store pages in shared/pages/fqdn/fqdn/public or shared/pages/fqdn/subpath/public - makes it simpler to implement CNAMEs in future
Diffstat (limited to 'app/workers')
-rw-r--r--app/workers/pages_worker.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/app/workers/pages_worker.rb b/app/workers/pages_worker.rb
index 6c6bb7ed13f..836e8d8ad9d 100644
--- a/app/workers/pages_worker.rb
+++ b/app/workers/pages_worker.rb
@@ -121,10 +121,6 @@ class PagesWorker
@previous_public_path ||= File.join(pages_path, "public.#{SecureRandom.hex}")
end
- def lock_path
- @lock_path ||= File.join(pages_path, 'deploy.lock')
- end
-
def ref
build.ref
end