Переглянути джерело

Minor - Renamed constructor of FreeAnswer class to __construct

Yannick Warnier 11 роки тому
батько
коміт
e82b65282d
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      main/exercice/freeanswer.class.php

+ 1 - 1
main/exercice/freeanswer.class.php

@@ -24,7 +24,7 @@ class FreeAnswer extends Question
     /**
      * Constructor
      */
-    function FreeAnswer()
+    function __construct()
     {
         parent::question();
         $this->type      = FREE_ANSWER;