diff options
Diffstat (limited to 'data/lib/rpcutils.js')
-rw-r--r-- | data/lib/rpcutils.js | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/data/lib/rpcutils.js b/data/lib/rpcutils.js index d29fd68..ee8804a 100644 --- a/data/lib/rpcutils.js +++ b/data/lib/rpcutils.js @@ -2,28 +2,6 @@ //http://www.opensource.org/licenses/mit-license.php "use strict"; -/* -We should first login and then we shouldn't bother with it. -It could be interesting to know how many logins per second are bad. - */ - -function JSONRPCLogin(callback) { - if (!constantData.passwordState.password) { - return; - } - - console.myDebug("JSONRPCLogin: passObj = " + - constantData.passwordState.toSource()); - makeJSONRPCCall("User.login", { - login: getLogin(), - password: constantData.passwordState.password, - remember: false - }, function(logResult) { - callback(); - }); -}; - - // Make a JSONL-RPC call ... most of the business logic should stay in the // content script // http://json-rpc.org/wd/JSON-RPC-1-1-WD-20060807.html |