aboutsummaryrefslogtreecommitdiffstats
path: root/models/models.go
diff options
context:
space:
mode:
authorEthan Koenig <ethantkoenig@gmail.com>2017-02-04 11:00:07 -0500
committerEthan Koenig <ethantkoenig@gmail.com>2017-02-04 11:01:21 -0500
commitf82ea42679eaa220ab39d1e4d70e2ed4cbaf0fa7 (patch)
treec8f610d2ec7850241462591b8051a02967fc92b5 /models/models.go
parent8a421b1fd702d99e8438f6ef6f4ee339f1eaa130 (diff)
downloadgitea-f82ea42679eaa220ab39d1e4d70e2ed4cbaf0fa7.tar.gz
gitea-f82ea42679eaa220ab39d1e4d70e2ed4cbaf0fa7.zip
Fix bug in removeOrgRepo
Diffstat (limited to 'models/models.go')
-rw-r--r--models/models.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/models/models.go b/models/models.go
index 624badda17..ec93d4c12b 100644
--- a/models/models.go
+++ b/models/models.go
@@ -30,12 +30,14 @@ import (
// Engine represents a xorm engine or session.
type Engine interface {
+ Decr(column string, arg ...interface{}) *xorm.Session
Delete(interface{}) (int64, error)
Exec(string, ...interface{}) (sql.Result, error)
Find(interface{}, ...interface{}) error
Get(interface{}) (bool, error)
Id(interface{}) *xorm.Session
In(string, ...interface{}) *xorm.Session
+ Incr(column string, arg ...interface{}) *xorm.Session
Insert(...interface{}) (int64, error)
InsertOne(interface{}) (int64, error)
Iterate(interface{}, xorm.IterFunc) error