1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-01-24 21:48:21 +01:00

(stable) Don't warn about a locked database value after users run "bin/auth lock"

Summary: Ref T7667. Also one text fix.

Test Plan: Ran `bin/auth lock`, didn't get a replacement setup issue.

Reviewers: amckinley

Reviewed By: amckinley

Maniphest Tasks: T7667

Differential Revision: https://secure.phabricator.com/D20447
This commit is contained in:
epriestley 2019-04-17 17:23:19 -07:00
parent f040a591e6
commit 4e37184862

View file

@ -121,6 +121,7 @@ final class PhabricatorExtraConfigSetupCheck extends PhabricatorSetupCheck {
'phabricator.uninstalled-applications', 'phabricator.uninstalled-applications',
'phabricator.application-settings', 'phabricator.application-settings',
'config.ignore-issues', 'config.ignore-issues',
'auth.lock-config',
); );
$soft_locks = array_fuse($soft_locks); $soft_locks = array_fuse($soft_locks);
if (isset($soft_locks[$key])) { if (isset($soft_locks[$key])) {
@ -146,7 +147,7 @@ final class PhabricatorExtraConfigSetupCheck extends PhabricatorSetupCheck {
'that it was previously not locked, you set it using the web UI, '. 'that it was previously not locked, you set it using the web UI, '.
'and it later became locked.'. 'and it later became locked.'.
"\n\n". "\n\n".
'You should copy this configuration value in a local configuration '. 'You should copy this configuration value to a local configuration '.
'source (usually by using %s) and then remove it from the database '. 'source (usually by using %s) and then remove it from the database '.
'with the command below.'. 'with the command below.'.
"\n\n". "\n\n".