virtUOS / edusharing-opencast-importer

This importer harvests episodes (lecture recordings) from Opencast instances and push it as external references to an Edusharing instance.
GNU General Public License v3.0
2 stars 2 forks source link

remove redundancy: refactore passing `ocInstanceObj` and `ocInstance` #25

Closed ffeyen closed 3 years ago

ffeyen commented 3 years ago

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.

_Originally posted by @jduehring in https://github.com/virtUOS/edusharing-opencast-importer/pull/22#discussion_r724168556_

ffeyen commented 3 years ago

Please note if #26 has any effects.

ffeyen commented 3 years ago

closed #28