1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-11-26 00:32:41 +01:00

Use getConfigFromAnySource when checking for immutable_history

This commit is contained in:
Jamie Wong 2012-06-11 10:15:28 -04:00
parent 08b53c3803
commit 0aaa13016c

View file

@ -1036,7 +1036,7 @@ abstract class ArcanistBaseWorkflow {
$repository_api = $this->getRepositoryAPI(); $repository_api = $this->getRepositoryAPI();
$working_copy = $this->getWorkingCopy(); $working_copy = $this->getWorkingCopy();
$project_config = $working_copy->getConfig('immutable_history'); $project_config = $working_copy->getConfigFromAnySource('immutable_history');
if ($project_config !== null) { if ($project_config !== null) {
return $project_config; return $project_config;
} }