This commit is contained in:
Lunny Xiao 2018-07-12 20:09:05 +08:00
parent 5a61d42a64
commit 796805c77b
No known key found for this signature in database
GPG Key ID: C3B7C91B632F738A

View File

@ -111,13 +111,13 @@ func (r *actionNotifier) NotifyIssueChangeLabels(doer *models.User, issue *model
addedLabels []*models.Label, removedLabels []*models.Label) {
}
func (w *actionNotifier) NotifyCreateRepository(doer *models.User, u *models.User, repo *models.Repository) {
func (r *actionNotifier) NotifyCreateRepository(doer *models.User, u *models.User, repo *models.Repository) {
if err := models.NewRepoAction(doer, repo); err != nil {
log.Error(4, "NewRepoAction [%d]: %v", repo.ID, err)
}
}
func (w *actionNotifier) NotifyMigrateRepository(doer *models.User, u *models.User, repo *models.Repository) {
func (r *actionNotifier) NotifyMigrateRepository(doer *models.User, u *models.User, repo *models.Repository) {
if err := models.NewRepoAction(doer, repo); err != nil {
log.Error(4, "NewRepoAction [%d]: %v", repo.ID, err)
}