summaryrefslogtreecommitdiff
path: root/lib/api/project_statistics.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/api/project_statistics.rb')
-rw-r--r--lib/api/project_statistics.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/api/project_statistics.rb b/lib/api/project_statistics.rb
index 2f73785f72d..14ee0f75513 100644
--- a/lib/api/project_statistics.rb
+++ b/lib/api/project_statistics.rb
@@ -4,7 +4,6 @@ module API
class ProjectStatistics < Grape::API
before do
authenticate!
- not_found! unless user_project.daily_statistics_enabled?
authorize! :daily_statistics, user_project
end