subplugin module user data backup

subplugin module user data backup

by Don Cooke -
Number of replies: 0

Hi All,


We have used module sub-plugins to extend the functionality for the assign module.

This involved adding a new sub-plugin type and then adding new functionality for this sub-plugin.

We have backup and restore routines implemented  using classes which  extend backup_subplugin


We now want to switch on and off the persistence of user data.

In most modules you control this inclusion logic  using the         $userinfo = $this->get_setting_value('userinfo');    line.

For some reason this appears to be an API omission in the backup_subplugin class.

While we wait for this to be fixed .. does anyone out there know  a work around check for the presence/ absense of a requirement for user data ?


Regards

Don Cooke


Average of ratings: -