mirror of
https://github.com/catalyst/moodle-auth_outage.git
synced 2026-10-22 10:18:06 +02:00
Issue #9 - Fixed code standards.
This commit is contained in:
1 parent
4cccb518f3
commit
be477ee787
1 file changed
+3
-2
@@ -162,9 +162,10 @@ final class outagedb {
|
||||
$data = $DB->get_record_sql('
|
||||
SELECT *
|
||||
FROM {auth_outage}
|
||||
WHERE (starttime - warningduration <= :now1 AND stoptime >= :now2)
|
||||
WHERE (starttime - warningduration <= :now1 AND stoptime >= :now2)
|
||||
ORDER BY starttime ASC, stoptime DESC, title ASC
|
||||
LIMIT 1',
|
||||
LIMIT 1
|
||||
',
|
||||
['now1' => $now, 'now2' => $now]
|
||||
);
|
||||
|
||||
|
||||
Reference in new issue
Block a user