Browse Source

删除注释

Signed-off-by: zouap <zouap@pcl.ac.cn>
tags/v1.22.2.2^2
zouap 4 years ago
parent
commit
c2ea54c5e9
1 changed files with 0 additions and 3 deletions
  1. +0
    -3
      modules/notification/notification.go

+ 0
- 3
modules/notification/notification.go View File

@@ -6,7 +6,6 @@ package notification

import (
"code.gitea.io/gitea/models"
"code.gitea.io/gitea/modules/log"
"code.gitea.io/gitea/modules/notification/action"
"code.gitea.io/gitea/modules/notification/base"
"code.gitea.io/gitea/modules/notification/indexer"
@@ -40,9 +39,7 @@ func NewContext() {

// NotifyUploadAttachment notifies attachment upload message to notifiers
func NotifyOtherTask(doer *models.User, repo *models.Repository, id string, name string, optype models.ActionType) {
log.Info("send attachment to db.")
for _, notifier := range notifiers {
log.Info("send attachment to notifiers.")
notifier.NotifyOtherTask(doer, repo, id, name, optype)
}
}


Loading…
Cancel
Save