1
0
Fork 0
mirror of synced 2024-10-01 01:37:56 +13:00

comparison fix

This commit is contained in:
shimon 2023-11-16 20:33:37 +02:00
parent dceb1858b0
commit 8c9a662e14

View file

@ -54,7 +54,7 @@ class DeleteOrphanedProjects extends Action
$totalProjects = $dbForConsole->count('projects'); $totalProjects = $dbForConsole->count('projects');
Console::success("Found a total of: {$totalProjects} projects"); Console::success("Found a total of: {$totalProjects} projects");
$orphans = 1; $orphans = 0;
$cnt = 0; $cnt = 0;
$count = 0; $count = 0;
$limit = 30; $limit = 30;
@ -135,6 +135,6 @@ class DeleteOrphanedProjects extends Action
$count = $count + $sum; $count = $count + $sum;
} }
Console::log('Iterated through ' . $count - 1 . '/' . $totalProjects . ' projects found ' . $orphans - 1 . ' orphans'); Console::log('Iterated through ' . $count - 1 . '/' . $totalProjects . ' projects found ' . $orphans . ' orphans');
} }
} }