From dbae651abc7923a90e23567ce160751b8fed454d Mon Sep 17 00:00:00 2001 From: xiaoxiaoqiong Date: Thu, 7 Jul 2022 11:12:13 +0800 Subject: [PATCH] =?UTF-8?q?fixed=20=E9=A6=96=E9=A1=B5=E9=A1=B9=E7=9B=AE?= =?UTF-8?q?=E6=95=B0=E9=87=8F=E7=BB=9F=E8=AE=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/models/project_statistic.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/models/project_statistic.rb b/app/models/project_statistic.rb index 0d208135..6922d79d 100644 --- a/app/models/project_statistic.rb +++ b/app/models/project_statistic.rb @@ -16,8 +16,6 @@ class ProjectStatistic < ApplicationRecord def self.data data = self.last if data.present? - return data - else common_projects_count = Project.common.count mirror_projects_count = Project.mirror.count sync_mirror_projects_count = Project.sync_mirror.count