summaryrefslogtreecommitdiff
path: root/app/services
diff options
context:
space:
mode:
authorPeter Marko <peter.marko@siemens.com>2019-02-13 23:38:11 +0100
committerPeter Marko <peter.marko@siemens.com>2019-05-29 16:08:25 +0200
commit40490cc4922fedbf4512109429cdc2c5aed65ded (patch)
treebb2be4aa53b223c2031c3accd4b5398ab90b7598 /app/services
parent106f449d6938280452c52e1ee86461e5ceed685e (diff)
downloadgitlab-ce-40490cc4922fedbf4512109429cdc2c5aed65ded.tar.gz
Add wiki size to project statistics
Diffstat (limited to 'app/services')
-rw-r--r--app/services/projects/update_statistics_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/projects/update_statistics_service.rb b/app/services/projects/update_statistics_service.rb
index f32a779fab0..28677a398f3 100644
--- a/app/services/projects/update_statistics_service.rb
+++ b/app/services/projects/update_statistics_service.rb
@@ -3,7 +3,7 @@
module Projects
class UpdateStatisticsService < BaseService
def execute
- return unless project && project.repository.exists?
+ return unless project
Rails.logger.info("Updating statistics for project #{project.id}")