MDL-57273 core: Remove magic setters and getters

Remove the magic getters and setters from persistent. They are deprecated only in the persistent
class for competencies.
This commit is contained in:
Damyon Wiese
2017-01-20 12:56:19 +08:00
parent 32896dcbab
commit 9c91a9593d
120 changed files with 2868 additions and 2823 deletions
@@ -80,8 +80,8 @@ class framework_mapper {
// Find mappings.
foreach ($collectionfrom as $keyfrom => $compfrom) {
foreach ($collectionto as $keyto => $compto) {
if ($compfrom->get_idnumber() == $compto->get_idnumber()) {
$map[$compfrom->get_id()] = $compto->get_id();
if ($compfrom->get('idnumber') == $compto->get('idnumber')) {
$map[$compfrom->get('id')] = $compto->get('id');
unset($collectionfrom[$keyfrom]);
unset($collectionto[$keyto]);
break;