summaryrefslogtreecommitdiff
path: root/app/models/commit.rb
diff options
context:
space:
mode:
authorYorick Peterse <yorickpeterse@gmail.com>2018-11-15 16:09:27 +0100
committerYorick Peterse <yorickpeterse@gmail.com>2018-11-15 16:09:27 +0100
commit0aa386f75c96356a7f40c0b8029f9df608babe99 (patch)
treee2aad7e4a44d82bc144556aa43e3c18763145f6c /app/models/commit.rb
parent379ed169f7a848d5f946e01f08fb8354b7a59d9d (diff)
downloadgitlab-ce-0aa386f75c96356a7f40c0b8029f9df608babe99.tar.gz
Refactor Member#add_user for GitLab EErefactor-member-add-user-for-ee
GitLab EE extends Member#add_user by adding some LDAP specific flags. Prior to these changes, the only way this could be done was by modifying Member#add_user in place. This could lead to merge conflicts whenever a developer wants to change this method. To resolve this issue, the logic that EE extends has been moved into a separate method with the appropriate arguments. This allows EE to extend the logic by prepending the method using an EE specific module.
Diffstat (limited to 'app/models/commit.rb')
0 files changed, 0 insertions, 0 deletions