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