Restore custom hooks for wiki

This commit is contained in:
Ahmad Hassan 2018-06-21 13:56:00 +02:00
parent 14e35ac9b1
commit 099eb8ae40

View file

@ -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)