@@ -92,7 +92,7 @@ discard block |
||
| 92 | 92 | $schema = $this->db->createSchema(); |
| 93 | 93 | $prefix = $this->config->getSystemValue('dbtableprefix', 'oc_'); |
| 94 | 94 | |
| 95 | - $tableName = $prefix . 'accounts'; |
|
| 95 | + $tableName = $prefix.'accounts'; |
|
| 96 | 96 | if (!$schema->hasTable($tableName)) { |
| 97 | 97 | return false; |
| 98 | 98 | } |
@@ -102,8 +102,8 @@ discard block |
||
| 102 | 102 | return false; |
| 103 | 103 | } |
| 104 | 104 | |
| 105 | - if ($schema->hasTable($prefix . 'persistent_locks')) { |
|
| 106 | - $locksTable = $schema->getTable($prefix . 'persistent_locks'); |
|
| 105 | + if ($schema->hasTable($prefix.'persistent_locks')) { |
|
| 106 | + $locksTable = $schema->getTable($prefix.'persistent_locks'); |
|
| 107 | 107 | $foreignKeys = $locksTable->getForeignKeys(); |
| 108 | 108 | foreach ($foreignKeys as $foreignKey) { |
| 109 | 109 | if ($tableName === $foreignKey->getForeignTableName()) { |