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
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
remove unused scopes
ulferts0c8506d3b766
diff --git a/app/models/principals/scopes/not_builtin.rb b/app/models/principals/scopes/not_builtin.rbindex bed6a86e387..aeafd8f22c5 100644--- a/app/models/principals/scopes/not_builtin.rb+++ b/app/models/principals/scopes/not_builtin.rb@@ -42,11 +42,6 @@ module Principals::ScopesAnonymousUser.name,DeletedUser.name])end-- def not_builtin_without_anonymous- where.not(type: [SystemUser.name,- DeletedUser.name])- endendendenddiff --git a/app/models/principals/scopes/status.rb b/app/models/principals/scopes/status.rbindex bcf2545174c..f04f9e083d5 100644--- a/app/models/principals/scopes/status.rb+++ b/app/models/principals/scopes/status.rb@@ -45,10 +45,6 @@ module Principals::Scopesnot_builtin.where.not(status: val)endend-- def self.not_locked_without_anonymous- not_builtin_without_anonymous.where.not(status: :locked)- endendendend