Commit e893b3c7 authored by Rémy Coutable's avatar Rémy Coutable

Merge branch 'backport_from_ee' into 'master'

Minor backport from EE

See merge request gitlab-org/gitlab-ce!15647
parents f57b06ca 51d266ee
......@@ -54,7 +54,7 @@ module IssuableActions
end
def destroy
Issuable::DestroyService.new(project, current_user).execute(issuable)
Issuable::DestroyService.new(issuable.project, current_user).execute(issuable)
TodoService.new.destroy_issuable(issuable, current_user)
name = issuable.human_class_name
......
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