1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-19 05:12:41 +01:00

Rename "ProfilePanelEditEngine" to "ProfileMenuEditEngine"

Summary: Ref T11957.

Test Plan: Edited profile menus, grepped for renamed symbol.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T11957

Differential Revision: https://secure.phabricator.com/D17026
This commit is contained in:
epriestley 2016-12-11 09:06:43 -08:00
parent 923d3d3060
commit d6704705a7
3 changed files with 7 additions and 7 deletions

View file

@ -3364,13 +3364,13 @@ phutil_register_library_map(array(
'PhabricatorPolicyType' => 'applications/policy/constants/PhabricatorPolicyType.php', 'PhabricatorPolicyType' => 'applications/policy/constants/PhabricatorPolicyType.php',
'PhabricatorPonderApplication' => 'applications/ponder/application/PhabricatorPonderApplication.php', 'PhabricatorPonderApplication' => 'applications/ponder/application/PhabricatorPonderApplication.php',
'PhabricatorProfileMenuCollapsedSetting' => 'applications/settings/setting/PhabricatorProfileMenuCollapsedSetting.php', 'PhabricatorProfileMenuCollapsedSetting' => 'applications/settings/setting/PhabricatorProfileMenuCollapsedSetting.php',
'PhabricatorProfileMenuEditEngine' => 'applications/search/editor/PhabricatorProfileMenuEditEngine.php',
'PhabricatorProfileMenuEngine' => 'applications/search/engine/PhabricatorProfileMenuEngine.php', 'PhabricatorProfileMenuEngine' => 'applications/search/engine/PhabricatorProfileMenuEngine.php',
'PhabricatorProfilePanel' => 'applications/search/profilepanel/PhabricatorProfilePanel.php', 'PhabricatorProfilePanel' => 'applications/search/profilepanel/PhabricatorProfilePanel.php',
'PhabricatorProfilePanelConfiguration' => 'applications/search/storage/PhabricatorProfilePanelConfiguration.php', 'PhabricatorProfilePanelConfiguration' => 'applications/search/storage/PhabricatorProfilePanelConfiguration.php',
'PhabricatorProfilePanelConfigurationQuery' => 'applications/search/query/PhabricatorProfilePanelConfigurationQuery.php', 'PhabricatorProfilePanelConfigurationQuery' => 'applications/search/query/PhabricatorProfilePanelConfigurationQuery.php',
'PhabricatorProfilePanelConfigurationTransaction' => 'applications/search/storage/PhabricatorProfilePanelConfigurationTransaction.php', 'PhabricatorProfilePanelConfigurationTransaction' => 'applications/search/storage/PhabricatorProfilePanelConfigurationTransaction.php',
'PhabricatorProfilePanelConfigurationTransactionQuery' => 'applications/search/query/PhabricatorProfilePanelConfigurationTransactionQuery.php', 'PhabricatorProfilePanelConfigurationTransactionQuery' => 'applications/search/query/PhabricatorProfilePanelConfigurationTransactionQuery.php',
'PhabricatorProfilePanelEditEngine' => 'applications/search/editor/PhabricatorProfilePanelEditEngine.php',
'PhabricatorProfilePanelEditor' => 'applications/search/editor/PhabricatorProfilePanelEditor.php', 'PhabricatorProfilePanelEditor' => 'applications/search/editor/PhabricatorProfilePanelEditor.php',
'PhabricatorProfilePanelIconSet' => 'applications/search/profilepanel/PhabricatorProfilePanelIconSet.php', 'PhabricatorProfilePanelIconSet' => 'applications/search/profilepanel/PhabricatorProfilePanelIconSet.php',
'PhabricatorProfilePanelPHIDType' => 'applications/search/phidtype/PhabricatorProfilePanelPHIDType.php', 'PhabricatorProfilePanelPHIDType' => 'applications/search/phidtype/PhabricatorProfilePanelPHIDType.php',
@ -8450,6 +8450,7 @@ phutil_register_library_map(array(
'PhabricatorPolicyType' => 'PhabricatorPolicyConstants', 'PhabricatorPolicyType' => 'PhabricatorPolicyConstants',
'PhabricatorPonderApplication' => 'PhabricatorApplication', 'PhabricatorPonderApplication' => 'PhabricatorApplication',
'PhabricatorProfileMenuCollapsedSetting' => 'PhabricatorInternalSetting', 'PhabricatorProfileMenuCollapsedSetting' => 'PhabricatorInternalSetting',
'PhabricatorProfileMenuEditEngine' => 'PhabricatorEditEngine',
'PhabricatorProfileMenuEngine' => 'Phobject', 'PhabricatorProfileMenuEngine' => 'Phobject',
'PhabricatorProfilePanel' => 'Phobject', 'PhabricatorProfilePanel' => 'Phobject',
'PhabricatorProfilePanelConfiguration' => array( 'PhabricatorProfilePanelConfiguration' => array(
@ -8461,7 +8462,6 @@ phutil_register_library_map(array(
'PhabricatorProfilePanelConfigurationQuery' => 'PhabricatorCursorPagedPolicyAwareQuery', 'PhabricatorProfilePanelConfigurationQuery' => 'PhabricatorCursorPagedPolicyAwareQuery',
'PhabricatorProfilePanelConfigurationTransaction' => 'PhabricatorApplicationTransaction', 'PhabricatorProfilePanelConfigurationTransaction' => 'PhabricatorApplicationTransaction',
'PhabricatorProfilePanelConfigurationTransactionQuery' => 'PhabricatorApplicationTransactionQuery', 'PhabricatorProfilePanelConfigurationTransactionQuery' => 'PhabricatorApplicationTransactionQuery',
'PhabricatorProfilePanelEditEngine' => 'PhabricatorEditEngine',
'PhabricatorProfilePanelEditor' => 'PhabricatorApplicationTransactionEditor', 'PhabricatorProfilePanelEditor' => 'PhabricatorApplicationTransactionEditor',
'PhabricatorProfilePanelIconSet' => 'PhabricatorIconSet', 'PhabricatorProfilePanelIconSet' => 'PhabricatorIconSet',
'PhabricatorProfilePanelPHIDType' => 'PhabricatorPHIDType', 'PhabricatorProfilePanelPHIDType' => 'PhabricatorPHIDType',

View file

@ -1,9 +1,9 @@
<?php <?php
final class PhabricatorProfilePanelEditEngine final class PhabricatorProfileMenuEditEngine
extends PhabricatorEditEngine { extends PhabricatorEditEngine {
const ENGINECONST = 'search.profilepanel'; const ENGINECONST = 'search.profilemenu';
private $menuEngine; private $menuEngine;
private $profileObject; private $profileObject;

View file

@ -708,7 +708,7 @@ abstract class PhabricatorProfileMenuEngine extends Phobject {
$controller = $this->getController(); $controller = $this->getController();
return id(new PhabricatorProfilePanelEditEngine()) return id(new PhabricatorProfileMenuEditEngine())
->setMenuEngine($this) ->setMenuEngine($this)
->setProfileObject($object) ->setProfileObject($object)
->setNewPanelConfiguration($configuration) ->setNewPanelConfiguration($configuration)
@ -721,7 +721,7 @@ abstract class PhabricatorProfileMenuEngine extends Phobject {
$object = $this->getProfileObject(); $object = $this->getProfileObject();
$controller = $this->getController(); $controller = $this->getController();
return id(new PhabricatorProfilePanelEditEngine()) return id(new PhabricatorProfileMenuEditEngine())
->setMenuEngine($this) ->setMenuEngine($this)
->setProfileObject($object) ->setProfileObject($object)
->setController($controller) ->setController($controller)
@ -751,7 +751,7 @@ abstract class PhabricatorProfileMenuEngine extends Phobject {
$object = $this->getProfileObject(); $object = $this->getProfileObject();
$controller = $this->getController(); $controller = $this->getController();
return id(new PhabricatorProfilePanelEditEngine()) return id(new PhabricatorProfileMenuEditEngine())
->setIsBuiltin(true) ->setIsBuiltin(true)
->setMenuEngine($this) ->setMenuEngine($this)
->setProfileObject($object) ->setProfileObject($object)