do not send globalPadId in clientvars - its not used anywhere

pull/2028/head
webzwo0i 2013-12-08 17:29:41 +01:00
parent ca6f877db2
commit aadcfbb3d1
2 changed files with 0 additions and 3 deletions

View File

@ -1076,7 +1076,6 @@ function handleClientReady(client, message)
"historicalAuthorData": historicalAuthorData, "historicalAuthorData": historicalAuthorData,
"apool": apool, "apool": apool,
"rev": pad.getHeadRevisionNumber(), "rev": pad.getHeadRevisionNumber(),
"globalPadId": message.padId,
"time": currentTime, "time": currentTime,
}, },
"colorPalette": authorManager.getColorPalette(), "colorPalette": authorManager.getColorPalette(),
@ -1093,7 +1092,6 @@ function handleClientReady(client, message)
"readOnlyId": padIds.readOnlyPadId, "readOnlyId": padIds.readOnlyPadId,
"readonly": padIds.readonly, "readonly": padIds.readonly,
"serverTimestamp": new Date().getTime(), "serverTimestamp": new Date().getTime(),
"globalPadId": message.padId,
"userId": author, "userId": author,
"abiwordAvailable": settings.abiwordAvailable(), "abiwordAvailable": settings.abiwordAvailable(),
"plugins": { "plugins": {

View File

@ -40,7 +40,6 @@ function getCollabClient(ace2editor, serverVars, initialUserInfo, options, _pad)
var rev = serverVars.rev; var rev = serverVars.rev;
var padId = serverVars.padId; var padId = serverVars.padId;
var globalPadId = serverVars.globalPadId;
var state = "IDLE"; var state = "IDLE";
var stateMessage; var stateMessage;