Skip to content

Commit

Permalink
rewrote tests to work with previous master merge
Browse files Browse the repository at this point in the history
  • Loading branch information
rtschu committed Apr 27, 2020
1 parent f471895 commit 3a0c048
Show file tree
Hide file tree
Showing 4 changed files with 2,631 additions and 1,098 deletions.
2 changes: 1 addition & 1 deletion block_evasys_sync.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,13 +83,13 @@ public function get_content() {
if ($ismodeautomated) {
$this->page->requires->js_call_amd('block_evasys_sync/invite_manager', 'init');
} else {
$categoryhasstandardtime = \block_evasys_sync\evasys_synchronizer::get_standard_timemode($this->page->course->category);

// Only use standardtime js if no record exists.
if (!$record) {
$this->page->requires->js_call_amd('block_evasys_sync/standardtime', 'init');
}
}
$categoryhasstandardtime = \block_evasys_sync\evasys_synchronizer::get_standard_timemode($this->page->course->category);
$evasyssynchronizer = new \block_evasys_sync\evasys_synchronizer($this->page->course->id);
try {
$evasyscourses = $evasyssynchronizer->get_courses_from_lsf();
Expand Down
Loading

0 comments on commit 3a0c048

Please sign in to comment.