really fix migration #3

Merged
bence merged 1 commits from fix-migration into master 2023-04-08 03:15:26 +02:00
Showing only changes of commit b2584dca31 - Show all commits

View File

@ -96,7 +96,7 @@ class MigrateDatabaseCommand extends Command
while ($file = readdir($dir)) { while ($file = readdir($dir)) {
$filePath = $path . '/' . $file; $filePath = $path . '/' . $file;
if (!is_file($filePath) || pathinfo($file, PATHINFO_FILENAME) == '.gitkeep' || in_array(pathinfo($file, PATHINFO_FILENAME), $done)) { if (!is_file($filePath) || $file == '.gitkeep' || in_array(pathinfo($file, PATHINFO_FILENAME), $done)) {
continue; continue;
} }