Skip to content
  • Eloy Lafuente (stronk7)'s avatar
    6a45e6b1
    MDL-46455 restore: Extend support for subplugins to any plugin. · 6a45e6b1
    Eloy Lafuente (stronk7) authored
    In order to implement the backup and restore of log stores, that
    are created as subplugins of the tool_log plugin , we need to
    extend subplugins support from activities to virtually any plugin.
    
    Basically that implies moving the add_subplugin_structure() method from
    its current, restricted, activity level to general restore_structure_step.
    
    This commit implements the change in restore, covered with tests verifying
    old, bc behavior and also new, general one.
    6a45e6b1
    MDL-46455 restore: Extend support for subplugins to any plugin.
    Eloy Lafuente (stronk7) authored
    In order to implement the backup and restore of log stores, that
    are created as subplugins of the tool_log plugin , we need to
    extend subplugins support from activities to virtually any plugin.
    
    Basically that implies moving the add_subplugin_structure() method from
    its current, restricted, activity level to general restore_structure_step.
    
    This commit implements the change in restore, covered with tests verifying
    old, bc behavior and also new, general one.
Loading