Skip to content
Permalink
Browse files

MDL-43570 upgrade: fix indentation

  • Loading branch information...
danpoltawski committed May 1, 2014
1 parent 6a8ebfc commit 053953a041ae93b85ab5a3b58de3b8876a76ab51
Showing with 13 additions and 13 deletions.
  1. +13 −13 lib/db/upgrade.php
@@ -2346,20 +2346,20 @@ function xmldb_main_upgrade($oldversion) {
}
if ($oldversion < 2013051405.10) {
// Fixing possible wrong MIME type for DigiDoc files.
$extensions = array('%.bdoc', '%.cdoc', '%.ddoc');
$select = $DB->sql_like('filename', '?', false);
foreach ($extensions as $extension) {
$DB->set_field_select(
'files',
'mimetype',
'application/x-digidoc',
$select,
array($extension)
);
}
upgrade_main_savepoint(true, 2013051405.10);
// Fixing possible wrong MIME type for DigiDoc files.
$extensions = array('%.bdoc', '%.cdoc', '%.ddoc');
$select = $DB->sql_like('filename', '?', false);
foreach ($extensions as $extension) {
$DB->set_field_select(
'files',
'mimetype',
'application/x-digidoc',
$select,
array($extension)
);
}
upgrade_main_savepoint(true, 2013051405.10);
}
return true;
}

0 comments on commit 053953a

Please sign in to comment.
You can’t perform that action at this time.