diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-03-19 20:58:52 +0300 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-03-19 20:58:52 +0300 |
commit | 18f25bc94282a29029721ceeb9b9c6db354ce45f (patch) | |
tree | 69ec753cd461ab41d36732e88e809ddc43d0ae39 /app/services/issues | |
parent | 0115ad66d264f4670f241251acd3e36991134576 (diff) |
Update reference unfolder according to recent ability changes
Commit 43d8bdb4f048cbeb5675ed9120cb1aeb415b9586 introduced additional
checks for permissions to read issue in references extractor.
Diffstat (limited to 'app/services/issues')
-rw-r--r-- | app/services/issues/move_service.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/services/issues/move_service.rb b/app/services/issues/move_service.rb index 45b4b50c0f6..892acc8c04d 100644 --- a/app/services/issues/move_service.rb +++ b/app/services/issues/move_service.rb @@ -77,7 +77,8 @@ module Issues end def unfold_references(content) - unfolder = Gitlab::Gfm::ReferenceUnfolder.new(content, @old_project) + unfolder = Gitlab::Gfm::ReferenceUnfolder.new(content, @old_project, + @current_user) unfolder.unfold(@new_project) end |