MDL-57273 persistent: Dont allow set and get for helpers
commit6b206c53091dc3e272dfc145c92b1943428a37d1
authorDamyon Wiese <damyon@moodle.com>
Tue, 24 Jan 2017 07:25:54 +0000 (24 15:25 +0800)
committerDamyon Wiese <damyon@moodle.com>
Tue, 24 Jan 2017 07:39:53 +0000 (24 15:39 +0800)
tree3cda97678bd85b224a37d2538e06bfd7dfd03d1c
parent0ce135f65d77b14bd52bb7c01f24055095f9424e
MDL-57273 persistent: Dont allow set and get for helpers

Helper methods (ie custom methods on a persistent) should not be callable via set() or get() even
if they start with set_ or get_. They are not the same as custom getters and setters for real persistent
properties.
admin/tool/lp/classes/external/competency_summary_exporter.php
competency/classes/external/evidence_exporter.php
lib/classes/persistent.php