summaryrefslogtreecommitdiffstats
path: root/modules/indexer/issues/db.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/indexer/issues/db.go')
-rw-r--r--modules/indexer/issues/db.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/indexer/issues/db.go b/modules/indexer/issues/db.go
index a758cfeaee..d0cca4fd18 100644
--- a/modules/indexer/issues/db.go
+++ b/modules/indexer/issues/db.go
@@ -25,6 +25,10 @@ func (db *DBIndexer) Delete(ids ...int64) error {
return nil
}
+// Close dummy function
+func (db *DBIndexer) Close() {
+}
+
// Search dummy function
func (db *DBIndexer) Search(kw string, repoIDs []int64, limit, start int) (*SearchResult, error) {
total, ids, err := models.SearchIssueIDsByKeyword(kw, repoIDs, limit, start)