Merge pull request #13 from ONLYOFFICE/hotfix/v4.1.2

Hotfix/v4.1.2
This commit is contained in:
Alexander Trofimov
2016-09-20 15:41:32 +03:00
committed by GitHub
3 changed files with 14 additions and 5 deletions

View File

@ -1949,7 +1949,14 @@ exports.install = function(server, callbackFunction) {
}
}
}
sendData(conn, {type: 'license', license: {type: licenseType, light: licenseInfo.light}});
sendData(conn, {
type: 'license',
license: {
type: licenseType,
light: licenseInfo.light,
trial: constants.PACKAGE_TYPE_OS === licenseInfo.packageType ? false : licenseInfo.trial
}
});
} catch (err) {
logger.error('_checkLicense error:\r\n%s', err.stack);
}