Modifications pour le document RecentlyUpdated
Modifié par superadmin le 21/07/2025 - 08:55
Résumé
-
Objets (1 modifications, 0 ajouts, 0 suppressions)
Détails
- XWiki.WikiMacroClass[0]
-
- Code de la macro
-
... ... @@ -156,7 +156,7 @@ 156 156 ## We need to check if there is a valid license because the macro is registered even if the user doesn't have view right 157 157 ## on the macro definition page. See XWIKI-14828: Rendering macros defined in wiki pages are available to users that 158 158 ## don't have view right on those pages. 159 -#if ($services. promacrolicensing.hasLicensureForEntity($xcontext.macro.doc.documentReference))159 +#if ($services.licensing.licensor.hasLicensureForEntity($xcontext.macro.doc.documentReference)) 160 160 #executeMacro 161 161 #else 162 162 {{missingLicenseMessage extensionName="proMacros.extension.name"/}}