Skip to content

Commit

Permalink
Merge pull request #802 from ak4t0sh/patch-1
Browse files Browse the repository at this point in the history
Remove hardcoded prefix
  • Loading branch information
danmarsden authored Jan 19, 2025
2 parents 43dcc04 + 5327a2b commit bec4095
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db/upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -643,7 +643,7 @@ function xmldb_attendance_upgrade($oldversion=0) {
$sql = "modulename = 'attendance' AND NOT EXISTS (
SELECT 1
FROM {attendance_sessions} a
WHERE mdl_event.id = a.caleventid
WHERE {event}.id = a.caleventid
)";
$DB->delete_records_select('event', $sql);

Expand Down

0 comments on commit bec4095

Please sign in to comment.