formatting
This commit is contained in:
parent
554a666813
commit
28a72efe22
1 changed files with 1 additions and 1 deletions
|
@ -528,7 +528,7 @@ class Databases extends Action
|
|||
|
||||
foreach ($attributes as $attribute) {
|
||||
$options = $attribute->getAttribute('options', []);
|
||||
if($options['relatedCollection'] === $collectionId){ // Remove if using contains query above
|
||||
if($options['relatedCollection'] === $collectionId) { // Remove if using contains query above
|
||||
$dbForProject->deleteDocument('attributes', $attribute->getId());
|
||||
Console::success('Deleted document "' . $attribute->getId() . '" related collection successfully');
|
||||
$dbForProject->purgeCachedDocument('database_' . $databaseInternalId, $attribute->getAttribute('collectionId'));
|
||||
|
|
Loading…
Reference in a new issue