diff options
Diffstat (limited to 'model')
-rw-r--r-- | model/utils.go | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/model/utils.go b/model/utils.go index eacfa5b2a..01b24157a 100644 --- a/model/utils.go +++ b/model/utils.go @@ -108,18 +108,6 @@ func NewAppError(where string, id string, params map[string]interface{}, details return ap } -func NewLocAppError(where string, id string, params map[string]interface{}, details string) *AppError { - ap := &AppError{} - ap.Id = id - ap.params = params - ap.Message = id - ap.Where = where - ap.DetailedError = details - ap.StatusCode = 500 - ap.IsOAuth = false - return ap -} - var encoding = base32.NewEncoding("ybndrfg8ejkmcpqxot1uwisza345h769") // NewId is a globally unique identifier. It is a [A-Z0-9] string 26 |