Skip to content

Commit d00c781

Browse files
committed
Remove Memcache from main and config
1 parent b22720c commit d00c781

File tree

2 files changed

+0
-17
lines changed

2 files changed

+0
-17
lines changed

etc/config.sample.json

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -98,16 +98,6 @@
9898
"smtp_tls": false,
9999
"smtp_user": ""
100100
},
101-
"memcache": {
102-
"connect_timeout": 1.0,
103-
"tcp_nodelay": true,
104-
"servers": [
105-
{
106-
"hostname": "localhost",
107-
"port": 11211
108-
}
109-
]
110-
},
111101
"mysql": {
112102
"character_set": "utf8",
113103
"database": "bnetdocs_phoenix",

src/main.php

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
use \BNETDocs\Libraries\BlizzardChecker;
2525
use \BNETDocs\Libraries\Logger;
2626
use \BNETDocs\Libraries\VersionInfo;
27-
use \CarlBennett\MVC\Libraries\Cache;
2827
use \CarlBennett\MVC\Libraries\Common;
2928
use \CarlBennett\MVC\Libraries\DatabaseDriver;
3029
use \CarlBennett\MVC\Libraries\GlobalErrorHandler;
@@ -54,12 +53,6 @@ function main() {
5453
// Common::$config because we may need access tokens from the config.
5554
Logger::initialize();
5655

57-
Common::$cache = new Cache(
58-
Common::$config->memcache->servers,
59-
Common::$config->memcache->connect_timeout,
60-
Common::$config->memcache->tcp_nodelay
61-
);
62-
6356
Common::$database = null;
6457

6558
DatabaseDriver::$character_set = Common::$config->mysql->character_set;

0 commit comments

Comments
 (0)