Skip to content

Commit

Permalink
$Opt[__quietUpdateSchema] means don't print schema-update message.
Browse files Browse the repository at this point in the history
  • Loading branch information
kohler committed Oct 12, 2023
1 parent 3fe64e6 commit 50d89c4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/updateschema.php
Original file line number Diff line number Diff line change
Expand Up @@ -1160,7 +1160,9 @@ function run() {
$old_conf_g = Conf::$main;
Conf::$main = $conf;

error_log($conf->dbname . ": updating schema from version " . $conf->sversion);
if (!$conf->opt("__quietUpdateSchema")) {
error_log($conf->dbname . ": updating schema from version " . $conf->sversion);
}

// change `options` into an array, not an associative array
// (must do this early because PaperOptionList depends on that format)
Expand Down

0 comments on commit 50d89c4

Please sign in to comment.