Skip to content

Commit

Permalink
Many warnings in XWiki console while using OnlyOffice Connector Appli…
Browse files Browse the repository at this point in the history
…cation 2.0-rc-2 xwikisas#29

* Fixed one of the warnings that polluted the XWiki console, namely `com.xpn.xwiki.api.DeprecatedContext.getAction` deprecated usage.
  • Loading branch information
trrenty committed Sep 16, 2022
1 parent 60947d1 commit 6901c93
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1074,7 +1074,7 @@ html#ooFrame {
<property>
<content>{{velocity}}
{{html clean="false"}}
#if ($context.action == 'view')
#if ($xcontext.action == 'view')
#set ($OO_CONF_REF = $services.model.createDocumentReference('', 'XWikiOnlyOfficeCode', 'ConfigurationClass'))
#set ($OO_CONF_DOC = $xwiki.getDocument($OO_CONF_REF))
#set ($OO_CONF_OBJ = $OO_CONF_DOC.getObject('XWikiOnlyOfficeCode.ConfigurationClass'))
Expand Down

0 comments on commit 6901c93

Please sign in to comment.