summaryrefslogtreecommitdiffstats
path: root/modules/base
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-05-25 20:17:26 -0400
committerUnknown <joe2010xtmf@163.com>2014-05-25 20:17:26 -0400
commit2f820e01d8ed627284c1f8aa278b029377d22657 (patch)
tree0fbbe6ad03e0aead08894d918715c806b0629621 /modules/base
parent688ec6ecbdf0e1c450aa93fdc4d760c4ae63a73f (diff)
downloadgitea-2f820e01d8ed627284c1f8aa278b029377d22657.tar.gz
gitea-2f820e01d8ed627284c1f8aa278b029377d22657.zip
Fixed #209
Diffstat (limited to 'modules/base')
-rw-r--r--modules/base/base_memcache.go11
-rw-r--r--modules/base/base_redis.go12
2 files changed, 0 insertions, 23 deletions
diff --git a/modules/base/base_memcache.go b/modules/base/base_memcache.go
deleted file mode 100644
index 93ca93a4c7..0000000000
--- a/modules/base/base_memcache.go
+++ /dev/null
@@ -1,11 +0,0 @@
-// +build memcache
-
-package base
-
-import (
- _ "github.com/gogits/cache/memcache"
-)
-
-func init() {
- EnableMemcache = true
-}
diff --git a/modules/base/base_redis.go b/modules/base/base_redis.go
deleted file mode 100644
index 42430df774..0000000000
--- a/modules/base/base_redis.go
+++ /dev/null
@@ -1,12 +0,0 @@
-// +build redis
-
-package base
-
-import (
- _ "github.com/gogits/cache/redis"
- _ "github.com/gogits/session/redis"
-)
-
-func init() {
- EnableRedis = true
-}