Skip to content

Commit 1873c1d

Browse files
author
root
committed
Remove patch for Redmine 2.6 and 3.0 as they are not supported anymore
1 parent 0803b07 commit 1873c1d

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

Diff for: lib/redmine_git_hosting/patches/project_patch.rb

+1-7
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,7 @@ def groups_available
4747

4848

4949
def get_members_available(klass)
50-
scope = old_redmine_version? ? member_principals : memberships.active
51-
scope.map(&:principal).select { |m| m.class.name == klass }.uniq.sort
52-
end
53-
54-
55-
def old_redmine_version?
56-
Redmine::VERSION::MAJOR < 3 || (Redmine::VERSION::MAJOR <= 3 && Redmine::VERSION::MINOR == 0)
50+
memberships.active.map(&:principal).select { |m| m.class.name == klass }.uniq.sort
5751
end
5852

5953

0 commit comments

Comments
 (0)