forked from GNUsocial/gnu-social
[Embed] Refactoring and bug fixing
This commit is contained in:
committed by
Diogo Cordeiro
parent
462ea26303
commit
0c20d35206
@@ -1073,7 +1073,7 @@ class Schema
|
||||
try {
|
||||
$this->getTableDef($new_name);
|
||||
// New table exists, can't work
|
||||
throw new ServerException("Both table {$old_name} and {$new_name} exist. You're on your own");
|
||||
throw new ServerException("Both table {$old_name} and {$new_name} exist. You're on your own.");
|
||||
} catch(SchemaTableMissingException $e) {
|
||||
// New table doesn't exist, carry on
|
||||
}
|
||||
|
Reference in New Issue
Block a user