Commit c88da318 authored by Robert Lyon's avatar Robert Lyon
Browse files

Bug 1639049: Adding the {} to the table names for this upgrade

Oversight on initial patch - should have been picked up in testing


Change-Id: I940e1792a2843cda3569a771758a7e98a802a2bf
Signed-off-by: Robert Lyon's avatarRobert Lyon <>
parent b3ec929e
......@@ -4768,9 +4768,9 @@ function xmldb_core_upgrade($oldversion=0) {
if ($results = get_records_sql_array("SELECT, AS usr_email, AS artefactid, a.title AS artefact_email, as artefact_internal_profile_email, ae.principal
FROM usr u
JOIN artefact a ON a.owner =
JOIN artefact_internal_profile_email ae ON (ae.owner = and ae.artefact =
FROM {usr} u
JOIN {artefact} a ON a.owner =
JOIN {artefact_internal_profile_email} ae ON (ae.owner = and ae.artefact =
WHERE a.artefacttype = 'email' AND ( = ? OR a.title = ?)",
array('', ''))) {
foreach ($results as $result) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment