From 099eb8ae407bf3cce0e01acc386055ad8151b68e Mon Sep 17 00:00:00 2001 From: Ahmad Hassan Date: Thu, 21 Jun 2018 13:56:00 +0200 Subject: Restore custom hooks for wiki --- lib/backup/repository.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/backup/repository.rb b/lib/backup/repository.rb index 221ba52b490..50a5e340191 100644 --- a/lib/backup/repository.rb +++ b/lib/backup/repository.rb @@ -206,6 +206,8 @@ module Backup progress.print " * #{wiki.full_path} ... " begin wiki.repository.create_from_bundle(path_to_wiki_bundle) + restore_custom_hooks(wiki) + progress.puts "[DONE]".color(:green) rescue => e progress.puts "[Failed] restoring #{wiki.full_path} wiki".color(:red) -- cgit v1.2.1