mirror of
https://github.com/ONLYOFFICE/server.git
synced 2026-04-07 14:04:35 +08:00
add PACKAGE_TYPE_D
This commit is contained in:
@ -172,6 +172,7 @@ exports.EDITOR_TYPE_CONVERTATION = 3;
|
||||
|
||||
exports.PACKAGE_TYPE_OS = 0;
|
||||
exports.PACKAGE_TYPE_I = 1;
|
||||
exports.PACKAGE_TYPE_D = 2;
|
||||
|
||||
exports.REDIS_KEY_PUBSUB = 'pubsub';
|
||||
exports.REDIS_KEY_SAVE_LOCK = 'savelock:';
|
||||
|
||||
@ -99,8 +99,8 @@ exports.readLicense = function*() {
|
||||
} else {
|
||||
res.type = (yield* _getFileState()) ? c_LR.Success : c_LR.ExpiredTrial;
|
||||
if (res.type === c_LR.Success) {
|
||||
res.trial = true;
|
||||
res.count = 2;
|
||||
res.trial = (constants.PACKAGE_TYPE_D === oPackageType);
|
||||
res.count = resMax.count;
|
||||
return res;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user