@@ -424,7 +424,9 @@ |
||
424 | 424 | 'The Canvas URL you submitted could not be parsed.<pre>' . $_REQUEST['canvas_url'] . '</pre>', |
425 | 425 | NotificationMessage::ERROR |
426 | 426 | ); |
427 | - if (php_sapi_name() != 'cli') $smarty->display('page.tpl'); |
|
427 | + if (php_sapi_name() != 'cli') { |
|
428 | + $smarty->display('page.tpl'); |
|
429 | + } |
|
428 | 430 | exit; |
429 | 431 | } |
430 | 432 | } |
@@ -2,7 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace smtech\CanvasICSSync\SyncIntoCanvas; |
4 | 4 | |
5 | -use DateTime; |
|
6 | 5 | use vcalendar; |
7 | 6 | use Battis\DataUtilities; |
8 | 7 |