Remved parts for reworking api

This commit is contained in:
Dan Ballard 2011-03-31 22:43:28 -07:00
parent 05e650c541
commit 18d640089e
1 changed files with 0 additions and 18 deletions

View File

@ -782,24 +782,6 @@ function handleTestUpdate(resp) {
tests[resp['name']]['reducefn'] = decodeStr(resp["reducefn"]); tests[resp['name']]['reducefn'] = decodeStr(resp["reducefn"]);
} }
function releaseLock(type) {
var lock = myLocks[type];
myLocks[type] = null;
lock.locked = false;
var m = new Object();
m["query"] = "releaseLock";
m["type"] = type;
m["name"] = lock.name;
if (type == "range") {
m["start"] = lock.start;
m["end"] = lock.end;
}
bcastMsg(m);
}
function handleLockRelease(resp) { function handleLockRelease(resp) {
//var locks = getLockType(resp['type']); //var locks = getLockType(resp['type']);