Permalink
Browse files

remove useold

  • Loading branch information...
1 parent fb58246 commit d550de733331253ce56e5eb2ccdd71c8aa18ff40 弈轩 committed Sep 25, 2012
Showing with 2 additions and 3 deletions.
  1. +1 −2 index.js
  2. +1 −1 test/api.test.js
View
3 index.js
@@ -6,7 +6,6 @@ var options = {
root : '/',
cache : __dirname + '/../run/cache',
uuid : process.pid,
- useold : true
};
var storage = null;
@@ -22,7 +21,7 @@ exports.init = function (config) {
options[i] = config[i];
}
- if (options.useold) {
+ if (!options.not_copy) {
setTimeout(function(){
var copy = false;
try {
View
2 test/api.test.js
@@ -9,7 +9,7 @@ var Client = require(__dirname + '/../').init({
,'token' : ''
,'cache' : __dirname + '/run/cache'
,'uuid' : 'apitest'
- ,'useold' : false
+ ,'not_copy' : true
});
describe('client api', function () {

0 comments on commit d550de7

Please sign in to comment.