mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-20 15:36:16 -04:00
Removed isProPad, since all pads are public except for group-pads
This commit is contained in:
parent
0cbd4034b1
commit
0d5b98a338
4 changed files with 2 additions and 12 deletions
|
@ -390,10 +390,6 @@ var pad = {
|
|||
{
|
||||
return clientVars.clientIp;
|
||||
},
|
||||
getIsProPad: function()
|
||||
{
|
||||
return clientVars.isProPad;
|
||||
},
|
||||
getColorPalette: function()
|
||||
{
|
||||
return clientVars.colorPalette;
|
||||
|
@ -599,7 +595,7 @@ var pad = {
|
|||
},
|
||||
isPadPublic: function()
|
||||
{
|
||||
return (!pad.getIsProPad()) || (pad.getPadOptions().guestPolicy == 'allow');
|
||||
return pad.getPadOptions().guestPolicy == 'allow';
|
||||
},
|
||||
suggestUserName: function(userId, name)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue