Explorar el Código

Fix function call see BT#14042

jmontoyaa hace 7 años
padre
commit
cd10fdcfe3
Se han modificado 1 ficheros con 0 adiciones y 7 borrados
  1. 0 7
      main/inc/lib/certificate.lib.php

+ 0 - 7
main/inc/lib/certificate.lib.php

@@ -698,16 +698,9 @@ class Certificate extends Model
                     if (isset($gradebookCategories[0])) {
                         /** @var Category $category */
                         $category = $gradebookCategories[0];
-                        //  $categoryId = $category->get_id();
-                        // @todo how we check if user pass a gradebook?
-                        //$certificateInfo = GradebookUtils::get_certificate_by_user_id($categoryId, $this->user_id);
-
                         $result = Category::userFinishedCourse(
                             $this->user_id,
                             $category,
-                            null,
-                            $courseInfo['code'],
-                            $session['session_id'],
                             true
                         );