mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-21 22:32:41 +01:00
Use 'w' connection in bin/storage
Test Plan: Built a DB provider using readonly connection for 'r' mode. Then: $ arc unit Reviewers: epriestley Reviewed By: epriestley CC: aran, Korvin Differential Revision: https://secure.phabricator.com/D3484
This commit is contained in:
parent
2d66798c5d
commit
a430d0f9df
1 changed files with 3 additions and 1 deletions
|
@ -35,7 +35,9 @@ EOHELP
|
|||
);
|
||||
$args->parseStandardArguments();
|
||||
|
||||
$conf = PhabricatorEnv::newObjectFromConfig('mysql.configuration-provider');
|
||||
$conf = PhabricatorEnv::newObjectFromConfig(
|
||||
'mysql.configuration-provider',
|
||||
array($dao = null, 'w'));
|
||||
|
||||
$default_user = $conf->getUser();
|
||||
$default_host = $conf->getHost();
|
||||
|
|
Loading…
Reference in a new issue