[
http://jira.magnolia-cms.com/browse/MGNLDATA-100?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=27874#action_27874
]
Philipp Bärfuss commented on MGNLDATA-100:
------------------------------------------
I propose something like:
{code}
IsModuleInstalledOrRegistered(.., new AbstractTask(){
execute(ctx){
new RegisterWorkspaceForCacheFlushingTask().execute(ctx)
}
}
{code}
This works as the instantiation will only happen on execution which will only
be called if the module is installed.
> Make dependency on the cache module optional
> --------------------------------------------
>
> Key: MGNLDATA-100
> URL: http://jira.magnolia-cms.com/browse/MGNLDATA-100
> Project: Magnolia Data Module
> Issue Type: Improvement
> Affects Versions: 1.4.2
> Reporter: Fabrizio Giustina
> Assignee: Fabrizio Giustina
> Fix For: 1.5
>
>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------