Skip to content
This repository was archived by the owner on May 29, 2024. It is now read-only.

Commit 38762e4

Browse files
Seth BattisSeth Battis
authored andcommitted
Capture Calendar Name
For ease of reference when browsing the cache DB. Signed-off-by: Seth Battis <[email protected]>
1 parent a9af205 commit 38762e4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

import.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,7 @@ function filterEvent($event, $calendarCache) {
162162
INSERT INTO `calendars`
163163
(
164164
`id`,
165+
`name`,
165166
`ics_url`,
166167
`canvas_url`,
167168
`synced`,
@@ -171,6 +172,7 @@ function filterEvent($event, $calendarCache) {
171172
)
172173
VALUES (
173174
'$pairingHash',
175+
'{$master_array['calendar_name']}',
174176
'{$_REQUEST['cal']}',
175177
'{$canvasContext['canonical_url']}',
176178
'" . getSyncTimestamp() . "',

0 commit comments

Comments
 (0)