From af9c24a59d9c478d2539c136125e2ef090e8fb56 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Wed, 13 Aug 2014 09:40:44 -0400 Subject: [PATCH] feature(main) rm checkCallBackParams --- lib/server/main.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lib/server/main.js b/lib/server/main.js index 1d46afdf..ffb2b086 100644 --- a/lib/server/main.js +++ b/lib/server/main.js @@ -72,7 +72,6 @@ exports.redirect = redirect, exports.checkParams = checkParams, - exports.checkCallBackParams = checkCallBackParams, /* compitability with old versions of node */ exports.fs.exists = exports.fs.exists || exports.path.exists, @@ -385,10 +384,6 @@ } } - function checkCallBackParams(pParams) { - return Util.checkObj(pParams, ['error', 'data', 'params']); - } - function checkParams(params, additional) { var ret = Util.checkObjTrue(params, ['name', REQUEST, RESPONSE]);