Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 2.2
-
Component/s: Backup
-
Testing Instructions:
-
Difficulty:Easy
-
Affected Branches:MOODLE_22_STABLE
-
Fixed Branches:MOODLE_21_STABLE, MOODLE_22_STABLE
-
Pull from Repository:
-
Pull Master Branch:wip-
MDL-31175-m23 -
Pull Master Diff URL:
Description
public function register_dependency(setting_dependency $dependency) {
|
if ($this->is_circular_reference($dependency->get_dependent_setting())) {
|
$a = new stdclass();
|
$a->alreadydependent = $this->name;
|
$a->main = $dependentsetting->get_name();
|
throw new base_setting_exception('setting_circular_reference', $a);
|
}
|
$this->dependencies[$dependency->get_dependent_setting()->get_name()] = $dependency;
|
$dependency->get_dependent_setting()->register_dependent_dependency($dependency);
|
}
|
should be probably $dependency->get_name();