diff options
Diffstat (limited to 'lib/backup/pages.rb')
-rw-r--r-- | lib/backup/pages.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/backup/pages.rb b/lib/backup/pages.rb index 215ded93bfe..542e35a7c7c 100644 --- a/lib/backup/pages.rb +++ b/lib/backup/pages.rb @@ -2,12 +2,12 @@ require 'backup/files' module Backup class Pages < Files - def initialize - super('pages', Gitlab.config.pages.path) - end + attr_reader :progress - def create_files_dir - Dir.mkdir(app_files_dir, 0700) + def initialize(progress) + @progress = progress + + super('pages', Gitlab.config.pages.path) end end end |