From 46b3d8983aecd4908bb0b00ca9f1ccf73c4d5ff8 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Thu, 23 Jun 2016 17:05:06 +0200 Subject: [exams] Add baseconfig API hook --- modules-available/exams/inc/exams.inc.php | 31 +++++++++++++++++++------------ 1 file changed, 19 insertions(+), 12 deletions(-) (limited to 'modules-available/exams/inc') diff --git a/modules-available/exams/inc/exams.inc.php b/modules-available/exams/inc/exams.inc.php index 9e5833ba..c01d4bad 100644 --- a/modules-available/exams/inc/exams.inc.php +++ b/modules-available/exams/inc/exams.inc.php @@ -1,17 +1,24 @@ 0) as examMode FROM exams WHERE starttime < NOW() AND endtime > NOW() AND locationid IN $l", []); - - return $res['examMode']; - } } -- cgit v1.2.3-55-g7522