Fix invalid comment

This commit is contained in:
Fedor A. Fetisov 2018-08-16 16:38:12 +03:00
parent a9644ddec1
commit 83185a6b32

View File

@ -455,7 +455,7 @@ class Updater
}
try {
// Alter plugin table.
// Add primary key to the revision table.
$db->query('ALTER TABLE {revision} ADD PRIMARY KEY (id)');
} catch (\Exception $e) {
$this->errors[] = getlocal('Cannot update tables: {0}', $e->getMessage());