Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
d9e65df4
Commit
d9e65df4
authored
Mar 08, 2018
by
Bob Van Landuyt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resolve conflicts in spec/models/members/project_member_spec.rb
parent
b9589e12
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
6 deletions
+0
-6
app/models/members/project_member.rb
app/models/members/project_member.rb
+0
-6
No files found.
app/models/members/project_member.rb
View file @
d9e65df4
...
...
@@ -13,11 +13,8 @@ class ProjectMember < Member
scope
:in_project
,
->
(
project
)
{
where
(
source_id:
project
.
id
)
}
<<<<<<<
HEAD
before_destroy
:delete_member_branch_protection
=======
>>>>>>>
upstream
/
master
class
<<
self
# Add users to projects with passed access option
#
...
...
@@ -96,7 +93,6 @@ class ProjectMember < Member
private
<<<<<<<
HEAD
def
delete_member_branch_protection
if
user
.
present?
&&
project
.
present?
project
.
protected_branches
.
merge_access_by_user
(
user
).
destroy_all
...
...
@@ -104,8 +100,6 @@ class ProjectMember < Member
end
end
=======
>>>>>>>
upstream
/
master
def
send_invite
notification_service
.
invite_project_member
(
self
,
@raw_invite_token
)
unless
@skip_notification
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment