Commit 099eb8ae authored by Ahmad Hassan's avatar Ahmad Hassan

Restore custom hooks for wiki

parent 14e35ac9
...@@ -206,6 +206,8 @@ module Backup ...@@ -206,6 +206,8 @@ module Backup
progress.print " * #{wiki.full_path} ... " progress.print " * #{wiki.full_path} ... "
begin begin
wiki.repository.create_from_bundle(path_to_wiki_bundle) wiki.repository.create_from_bundle(path_to_wiki_bundle)
restore_custom_hooks(wiki)
progress.puts "[DONE]".color(:green) progress.puts "[DONE]".color(:green)
rescue => e rescue => e
progress.puts "[Failed] restoring #{wiki.full_path} wiki".color(:red) progress.puts "[Failed] restoring #{wiki.full_path} wiki".color(:red)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment