praxisdigital / moodle-block_sharing_cart

plug-in for Moodle LMS
0 stars 3 forks source link

Create hook for additional backup #65

Closed mcardle closed 2 years ago

mcardle commented 2 years ago

We need an additional backup method to be run for us to backup images for pxgrid. For this to be a general thing it should be done with Moodle event system.

We should register one event per backup method and one per restore method.

See: https://docs.moodle.org/dev/Events_API

frederikmillingpytlick commented 2 years ago

3.11 PR: https://github.com/praxisdigital/moodle-block_sharing_cart/pull/66

4.0 PR: https://github.com/praxisdigital/moodle-block_sharing_cart/pull/67

frederikmillingpytlick commented 2 years ago

Will be tested together with https://github.com/praxisdigital/format__pxgrid/issues/105

superfoght commented 2 years ago

@frederikmillingpytlick I have tested for 4.0 and it works. I cant merge the PR.