Permalink
Browse files

don't limit uuid creation on upgrade, when upgrading on commandline

  • Loading branch information...
1 parent 759c28b commit f08ca4ce120394eff00ed458ac4d09e323581584 @michield michield committed Feb 5, 2017
Showing with 1 addition and 1 deletion.
  1. +1 −1 public_html/lists/admin/upgrade.php
@@ -586,7 +586,7 @@ function output($message)
// add uuids to those that do not have it
$req = Sql_Query(sprintf('select id from %s where uuid = ""', $GLOBALS['tables']['user']));
$numS = Sql_Affected_Rows();
- if ($numS > 500) {
+ if ($numS > 500 && empty($GLOBALS['commandline'])) {
// with a lot of subscrirbers this can take a very long time, causing a blank page for a long time (I had one system where it took almost an hour)
//.This really needs to be loaded in Async mode, therefore I'm removing this for now

0 comments on commit f08ca4c

Please sign in to comment.