Remove redundancy by just passing the instance object to functions.
This contains changes in all modules, therefore this tasks is pushed into a new issue.
If we already pass the ocInstanceObj, it is redundant to pass ocInstance as well. We could just define ocInstance at the start ofeach function or call ocInstanceObj.domain instead.
Remove redundancy by just passing the instance object to functions. This contains changes in all modules, therefore this tasks is pushed into a new issue.
If we already pass the
ocInstanceObj
, it is redundant to passocInstance
as well. We could just defineocInstance
at the start ofeach function or callocInstanceObj.domain
instead._Originally posted by @jduehring in https://github.com/virtUOS/edusharing-opencast-importer/pull/22#discussion_r724168556_