Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

remove unused method

ulfertsa094013e95d9
diff --git a/lib/api/v3/projects/project_sql_representer.rb b/lib/api/v3/projects/project_sql_representer.rb
index a334256a39b..3f261eafa18 100644
--- a/lib/api/v3/projects/project_sql_representer.rb
+++ b/lib/api/v3/projects/project_sql_representer.rb
@@ -93,17 +93,6 @@ module API
SQL
end
end
-
- def visibility_join
- if User.current.admin?
- ''
- else
- <<-SQL.squish
- LEFT OUTER JOIN (#{Project.visible.to_sql}) visible_ancestors
- ON visible_ancestors.id = ancestors.id
- SQL
- end
- end
end
link :self,