diff --git a/public/main/inc/lib/glossary.lib.php b/public/main/inc/lib/glossary.lib.php index 8068c44a50..5f4582b85b 100644 --- a/public/main/inc/lib/glossary.lib.php +++ b/public/main/inc/lib/glossary.lib.php @@ -338,7 +338,6 @@ class GlossaryManager $session = api_get_session_entity($sessionId); $qb = $repo->getResourcesByCourse($course, $session); - try { $count = $qb->select('COUNT(resource)')->getQuery()->getSingleScalarResult(); } catch (NoResultException $e) { @@ -1139,5 +1138,4 @@ class GlossaryManager return $item1[2] < $item2[2] ? -1 : 1; } - }