1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-23 22:10:55 +01:00

Fix nonstandard specification of a constant

Summary: See <648fa2e1bc (commitcomment-10724671)>.

Test Plan: peered deep into its soul

Reviewers: btrahan, chad

Reviewed By: chad

Subscribers: epriestley

Differential Revision: https://secure.phabricator.com/D12415
This commit is contained in:
epriestley 2015-04-14 14:44:21 -07:00
parent badba7836f
commit 48b6120ee2

View file

@ -123,7 +123,7 @@ abstract class PhabricatorRepositoryCommitMessageParserWorker
$force_autoclose = idx($this->getTaskData(), 'forceAutoclose', false);
if ($force_autoclose) {
$autoclose_reason = $repository::BECAUSE_AUTOCLOSE_FORCED;
$autoclose_reason = PhabricatorRepository::BECAUSE_AUTOCLOSE_FORCED;
} else {
$autoclose_reason = $repository->shouldSkipAutocloseCommit($commit);
}