MDL-57586 workshop: Change workshop variable protected to public
authorLoc Nguyen <loc.nguyendinh@harveynash.vn>
Tue, 10 Jan 2017 07:22:11 +0000 (14:22 +0700)
committerLoc Nguyen <loc.nguyendinh@harveynash.vn>
Tue, 10 Jan 2017 07:22:11 +0000 (14:22 +0700)
In class workshop_assessment_base, change $workshop from protected to public.

mod/workshop/locallib.php

index e63250b..9016190 100644 (file)
@@ -3702,7 +3702,7 @@ abstract class workshop_assessment_base {
     protected $fields = array();
 
     /** @var workshop */
-    protected $workshop;
+    public $workshop;
 
     /**
      * Copies the properties of the given database record into properties of $this instance