MDL-22245 backup - added activities subplugin support

This commit is contained in:
Eloy Lafuente
2010-07-02 11:13:00 +00:00
parent 400475947a
commit 060df4c8f7
5 changed files with 117 additions and 2 deletions
@@ -131,7 +131,7 @@ abstract class base_optigroup extends base_nested_element {
* Recalculate all the used elements in the optigroup, observing
* restrictions and passing the new used to outer level
*/
function add_used($element) {
protected function add_used($element) {
$newused = array();
// Iterate over all the element useds, filling $newused and
// observing the multiple setting