1
0
Fork 0
mirror of synced 2024-06-14 00:34:51 +12:00

formatting

This commit is contained in:
fogelito 2024-04-17 15:43:31 +03:00
parent 554a666813
commit 28a72efe22

View file

@ -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'));