Skip to content

Commit

Permalink
Minor - Reduce error_log output for common item in migration - refs C…
Browse files Browse the repository at this point in the history
…T#7909
  • Loading branch information
ywarnier committed Oct 21, 2015
1 parent 0caae06 commit e1608e4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion main/install/install.lib.php
Expand Up @@ -2285,7 +2285,10 @@ function fixIds(EntityManager $em)
error_log($sql);
$connection->executeQuery($sql);
}
error_log("Process item #$counter");
if ($counter % 100 == 0) {
// Print a status in the log once in a while
error_log("Process item #$counter");
}
$counter++;
}
}
Expand Down

0 comments on commit e1608e4

Please sign in to comment.