Skip to content

Commit

Permalink
Remove hardcoded prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
ak4t0sh authored Jan 17, 2025
1 parent 43dcc04 commit 5327a2b
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 5327a2b

Please sign in to comment.