mirror of
https://github.com/appwrite/appwrite
synced 2026-05-22 08:28:42 +00:00
$collectionsConfig fix
This commit is contained in:
parent
917a4e9ab1
commit
75484fa018
1 changed files with 1 additions and 1 deletions
|
|
@ -81,7 +81,7 @@ class DeleteOrphanedProjects extends Action
|
|||
$dbForProject->setNamespace('_' . $project->getInternalId());
|
||||
$collectionsCreated = $dbForProject->count(Database::METADATA);
|
||||
$message = ' (' . $collectionsCreated . ') collections where found on project (' . $project->getId() . '))';
|
||||
if ($collectionsCreated < ($collectionsConfig + 2)) {
|
||||
if ($collectionsCreated < (count($collectionsConfig) + 2)) {
|
||||
Console::error($message);
|
||||
$orphans++;
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue