summaryrefslogtreecommitdiffstats
path: root/models/action.go
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2016-08-15 05:53:47 -0700
committerUnknwon <u@gogs.io>2016-08-15 05:53:47 -0700
commit94392a7af3d07f79adab195acfb7c1b545f68be9 (patch)
tree7782b7b0ca87f3ca077c98b945892ec833e3b25e /models/action.go
parentcc647ba9d5854319df259377f0c89027bb9f9813 (diff)
downloadgitea-94392a7af3d07f79adab195acfb7c1b545f68be9.tar.gz
gitea-94392a7af3d07f79adab195acfb7c1b545f68be9.zip
Fix empty repository panic on send test webhook
Diffstat (limited to 'models/action.go')
-rw-r--r--models/action.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/models/action.go b/models/action.go
index c727c05992..13085ace71 100644
--- a/models/action.go
+++ b/models/action.go
@@ -6,7 +6,6 @@ package models
import (
"encoding/json"
- "errors"
"fmt"
"path"
"regexp"
@@ -46,10 +45,6 @@ const (
)
var (
- ErrNotImplemented = errors.New("Not implemented yet")
-)
-
-var (
// Same as Github. See https://help.github.com/articles/closing-issues-via-commit-messages
IssueCloseKeywords = []string{"close", "closes", "closed", "fix", "fixes", "fixed", "resolve", "resolves", "resolved"}
IssueReopenKeywords = []string{"reopen", "reopens", "reopened"}