Bladeren bron

Gradebook: fixing __construct function

Julio Montoya 13 jaren geleden
bovenliggende
commit
55d558b91f
2 gewijzigde bestanden met toevoegingen van 2 en 3 verwijderingen
  1. 1 1
      main/gradebook/lib/be/category.class.php
  2. 1 2
      main/gradebook/lib/be/evaluation.class.php

+ 1 - 1
main/gradebook/lib/be/category.class.php

@@ -27,7 +27,7 @@ class Category implements GradebookItem
 
 // CONSTRUCTORS
 
-    function Category() {
+    function __construct() {
     }
 
 

+ 1 - 2
main/gradebook/lib/be/evaluation.class.php

@@ -26,8 +26,7 @@ class Evaluation implements GradebookItem
 
 // CONSTRUCTORS
 
-    function __construct() {
-    	parent::__construct();
+    function __construct() {    	
     }
 
 // GETTERS AND SETTERS