$collectionsConfig fix
This commit is contained in:
parent
07ef5535ef
commit
917a4e9ab1
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 < ($totalProjects + 2)) {
|
||||
if ($collectionsCreated < ($collectionsConfig + 2)) {
|
||||
Console::error($message);
|
||||
$orphans++;
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue