Skip to content

Commit b179d54

Browse files
Learnpath: Fix final certificate generation and enforce last position - refs BT#22813
1 parent bda8865 commit b179d54

File tree

3 files changed

+396
-405
lines changed

3 files changed

+396
-405
lines changed

public/main/gradebook/lib/be/category.class.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2012,7 +2012,6 @@ public static function generateUserCertificate(
20122012
bool $sendNotification = false,
20132013
bool $skipGenerationIfExists = false
20142014
) {
2015-
$user_id = (int) $user_id;
20162015
$categoryId = $category->getId();
20172016
$sessionId = $category->getSession() ? $category->getSession()->getId() : 0;
20182017
$courseId = $category->getCourse()->getId();

0 commit comments

Comments
 (0)