diff options
Diffstat (limited to 'modules/notification/base/null.go')
-rw-r--r-- | modules/notification/base/null.go | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/modules/notification/base/null.go b/modules/notification/base/null.go index b9ecaed425..79e9f7f7fc 100644 --- a/modules/notification/base/null.go +++ b/modules/notification/base/null.go @@ -130,3 +130,15 @@ func (*NullNotifier) NotifyRenameRepository(doer *models.User, repo *models.Repo // NotifyTransferRepository places a place holder function func (*NullNotifier) NotifyTransferRepository(doer *models.User, repo *models.Repository, oldOwnerName string) { } + +// NotifySyncPushCommits places a place holder function +func (*NullNotifier) NotifySyncPushCommits(pusher *models.User, repo *models.Repository, refName, oldCommitID, newCommitID string, commits *models.PushCommits) { +} + +// NotifySyncCreateRef places a place holder function +func (*NullNotifier) NotifySyncCreateRef(doer *models.User, repo *models.Repository, refType, refFullName string) { +} + +// NotifySyncDeleteRef places a place holder function +func (*NullNotifier) NotifySyncDeleteRef(doer *models.User, repo *models.Repository, refType, refFullName string) { +} |