<
From version < 4.1 >
edited by Administrator
on 2018/04/19 10:35
To version < 4.2 >
edited by Administrator
on 2018/04/19 17:15
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -149,8 +149,9 @@
149 149   #set ($currentLicenseDetailsDocument = $xwiki.getDocument($results[0]))
150 150   #set ($oldLicenseDetails = $licenseDetails)
151 151   #readLicenseDetailsFromDocument($currentLicenseDetailsDocument)
152 - ## Check if the best license is still active.
153 - #if ($licenseDetails.expirationDate && $licenseDetails.expirationDate.time > $datetool.date.time)
152 + ## Check if the best license is paid and still active.
153 + #if ($licenseDetails.type == 'paid' && $licenseDetails.expirationDate
154 + && $licenseDetails.expirationDate.time > $datetool.date.time)
154 154   #set ($currentLicenseDetails = $licenseDetails)
155 155   #end
156 156   #set ($licenseDetails = $oldLicenseDetails)
XWiki SAS Copyright © 2024