summaryrefslogtreecommitdiff
path: root/lib/backup/pages.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/backup/pages.rb')
-rw-r--r--lib/backup/pages.rb7
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/backup/pages.rb b/lib/backup/pages.rb
index 724972d212d..ebed6820724 100644
--- a/lib/backup/pages.rb
+++ b/lib/backup/pages.rb
@@ -6,14 +6,11 @@ module Backup
# if some of these files are still there, we don't need them in the backup
LEGACY_PAGES_TMP_PATH = '@pages.tmp'
- attr_reader :progress
-
def initialize(progress)
- @progress = progress
-
- super('pages', Gitlab.config.pages.path, excludes: [LEGACY_PAGES_TMP_PATH])
+ super(progress, 'pages', Gitlab.config.pages.path, excludes: [LEGACY_PAGES_TMP_PATH])
end
+ override :human_name
def human_name
_('pages')
end