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
a1fee790
Commit
a1fee790
authored
Oct 04, 2017
by
Oswaldo Ferreira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unnecessary ducktype on scoped_issue_board_available
parent
efb501ec
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
8 deletions
+0
-8
app/models/namespace.rb
app/models/namespace.rb
+0
-4
app/models/project.rb
app/models/project.rb
+0
-4
No files found.
app/models/namespace.rb
View file @
a1fee790
...
@@ -218,10 +218,6 @@ class Namespace < ActiveRecord::Base
...
@@ -218,10 +218,6 @@ class Namespace < ActiveRecord::Base
feature_available?
(
:multiple_issue_boards
)
feature_available?
(
:multiple_issue_boards
)
end
end
def
scoped_issue_board_available?
(
user
=
nil
)
feature_available?
(
:scoped_issue_board
)
end
private
private
def
refresh_access_of_projects_invited_groups
def
refresh_access_of_projects_invited_groups
...
...
app/models/project.rb
View file @
a1fee790
...
@@ -1535,10 +1535,6 @@ class Project < ActiveRecord::Base
...
@@ -1535,10 +1535,6 @@ class Project < ActiveRecord::Base
feature_available?
(
:multiple_issue_boards
,
user
)
feature_available?
(
:multiple_issue_boards
,
user
)
end
end
def
scoped_issue_board_available?
(
user
=
nil
)
feature_available?
(
:scoped_issue_board
,
user
)
end
def
full_path_was
def
full_path_was
File
.
join
(
namespace
.
full_path
,
previous_changes
[
'path'
].
first
)
File
.
join
(
namespace
.
full_path
,
previous_changes
[
'path'
].
first
)
end
end
...
...
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