mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-19 03:50:54 +01:00
Update function name to follow naming convention.
See: <http://github.com/facebook/phabricator/pull/575> Reviewed by: epriestley
This commit is contained in:
parent
ce1dbbec3c
commit
2e5065feb5
3 changed files with 3 additions and 3 deletions
|
@ -1041,7 +1041,7 @@ abstract class HeraldAdapter {
|
|||
break;
|
||||
case HeraldPreCommitRefAdapter::FIELD_REF_CHANGE:
|
||||
$change_map =
|
||||
PhabricatorRepositoryPushLog::getHeraldChangeflagConditionOptions();
|
||||
PhabricatorRepositoryPushLog::getHeraldChangeFlagConditionOptions();
|
||||
foreach ($value as $index => $val) {
|
||||
$name = idx($change_map, $val);
|
||||
if ($name) {
|
||||
|
|
|
@ -464,7 +464,7 @@ final class HeraldRuleController extends HeraldController {
|
|||
}
|
||||
|
||||
$changeflag_options =
|
||||
PhabricatorRepositoryPushLog::getHeraldChangeflagConditionOptions();
|
||||
PhabricatorRepositoryPushLog::getHeraldChangeFlagConditionOptions();
|
||||
Javelin::initBehavior(
|
||||
'herald-rule-editor',
|
||||
array(
|
||||
|
|
|
@ -52,7 +52,7 @@ final class PhabricatorRepositoryPushLog
|
|||
->setPusherPHID($viewer->getPHID());
|
||||
}
|
||||
|
||||
public static function getHeraldChangeflagConditionOptions() {
|
||||
public static function getHeraldChangeFlagConditionOptions() {
|
||||
return array(
|
||||
PhabricatorRepositoryPushLog::CHANGEFLAG_ADD =>
|
||||
pht('change creates ref'),
|
||||
|
|
Loading…
Reference in a new issue