1
0
Fork 0
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:
austinkelleher 2014-04-20 11:02:55 -04:00 committed by epriestley
parent ce1dbbec3c
commit 2e5065feb5
3 changed files with 3 additions and 3 deletions

View file

@ -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) {

View file

@ -464,7 +464,7 @@ final class HeraldRuleController extends HeraldController {
}
$changeflag_options =
PhabricatorRepositoryPushLog::getHeraldChangeflagConditionOptions();
PhabricatorRepositoryPushLog::getHeraldChangeFlagConditionOptions();
Javelin::initBehavior(
'herald-rule-editor',
array(

View file

@ -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'),