mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-20 15:36:16 -04:00
pad: Delete unused ip
and userAgent
client vars
This commit is contained in:
parent
98066184b2
commit
750c7cb1cf
4 changed files with 0 additions and 87 deletions
|
@ -234,8 +234,6 @@ function handshake() {
|
|||
|
||||
// set some client vars
|
||||
clientVars = obj.data;
|
||||
clientVars.userAgent = 'Anonymous';
|
||||
clientVars.collab_client_vars.clientAgent = 'Anonymous';
|
||||
|
||||
// initalize the pad
|
||||
pad._afterHandshake();
|
||||
|
@ -333,9 +331,6 @@ var pad = {
|
|||
getColorPalette() {
|
||||
return clientVars.colorPalette;
|
||||
},
|
||||
getDisplayUserAgent() {
|
||||
return padutils.uaDisplay(clientVars.userAgent);
|
||||
},
|
||||
getIsDebugEnabled() {
|
||||
return clientVars.debugEnabled;
|
||||
},
|
||||
|
@ -427,7 +422,6 @@ var pad = {
|
|||
name: clientVars.userName,
|
||||
ip: pad.getClientIp(),
|
||||
colorId: clientVars.userColor,
|
||||
userAgent: pad.getDisplayUserAgent(),
|
||||
};
|
||||
|
||||
padimpexp.init(this);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue