Skip to content

Commit

Permalink
Remove debugging messages about multiple keys
Browse files Browse the repository at this point in the history
  • Loading branch information
torinfo committed Jul 9, 2022
1 parent a9cc118 commit dbc5a8a
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions upgrade.php
Expand Up @@ -1265,13 +1265,6 @@ function upgrade_33()
array(':URL' => $xerte_toolkits_site->site_url . "lti_launch.php?template_id=" . $template['template_id']));
if (count($rows)>0)
{
if (count($rows) > 1) {
$mesg .= " WARNING: More than one key_id returned for template with id " . $template['template_id'] . "(this text should NOT be in release)<br>";
foreach($rows as $row)
{
$mesg .= " " . $row['key_id'] . "<br>";
}
}
// get the first key
$res = db_query("update $table set tsugi_manage_key_id=? where template_id=?",
array($rows[0]['key_id'], $template['template_id']));
Expand Down

0 comments on commit dbc5a8a

Please sign in to comment.