mirror of
https://github.com/appwrite/appwrite
synced 2026-05-22 16:38:32 +00:00
delete orphaned projects task
This commit is contained in:
parent
dd0bf66212
commit
60c0f4c973
1 changed files with 2 additions and 2 deletions
|
|
@ -86,9 +86,9 @@ class DeleteOrphanedProjects extends Action
|
|||
$collectionsCreated = $dbForProject->count(Database::METADATA);
|
||||
}
|
||||
|
||||
$msg = '(' . $cnt . ') ignoring found (' . $collectionsCreated . ') collections on project (' . $project->getInternalId() . ') , database (' . $project['database'] . ')';
|
||||
$msg = '(' . $cnt . ') found (' . $collectionsCreated . ') collections on project (' . $project->getInternalId() . ') , database (' . $project['database'] . ')';
|
||||
/**
|
||||
* +2 == audit+abuse
|
||||
* +2 = audit+abuse
|
||||
*/
|
||||
if ($collectionsCreated === (count($collectionsConfig) + 2)) {
|
||||
Console::log($msg . ' ignoring....');
|
||||
|
|
|
|||
Loading…
Reference in a new issue