summaryrefslogtreecommitdiff
path: root/app/Database.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Database.php')
-rw-r--r--app/Database.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Database.php b/app/Database.php
index eaa9a9fbe9..a935111720 100644
--- a/app/Database.php
+++ b/app/Database.php
@@ -304,7 +304,7 @@ class Database {
Site::setPreference($schema_name, ++$current_version);
}
} catch (PDOException $ex) {
- // The schema update scripts should never fail. If they do, there is no clean recovery.
+ // The schema update scripts should never fail. If they do, there is no clean recovery.
FlashMessages::addMessage($ex->getMessage(), 'danger');
header('Location: ' . WT_BASE_URL . 'site-unavailable.php');
throw $ex;