From d6704705a752cccc8801e6a5e3d8dfb553f8a722 Mon Sep 17 00:00:00 2001 From: epriestley Date: Sun, 11 Dec 2016 09:06:43 -0800 Subject: [PATCH] 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 --- src/__phutil_library_map__.php | 4 ++-- ...lEditEngine.php => PhabricatorProfileMenuEditEngine.php} | 4 ++-- .../search/engine/PhabricatorProfileMenuEngine.php | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) rename src/applications/search/editor/{PhabricatorProfilePanelEditEngine.php => PhabricatorProfileMenuEditEngine.php} (97%) diff --git a/src/__phutil_library_map__.php b/src/__phutil_library_map__.php index 07c043d5e5..804849a357 100644 --- a/src/__phutil_library_map__.php +++ b/src/__phutil_library_map__.php @@ -3364,13 +3364,13 @@ phutil_register_library_map(array( 'PhabricatorPolicyType' => 'applications/policy/constants/PhabricatorPolicyType.php', 'PhabricatorPonderApplication' => 'applications/ponder/application/PhabricatorPonderApplication.php', 'PhabricatorProfileMenuCollapsedSetting' => 'applications/settings/setting/PhabricatorProfileMenuCollapsedSetting.php', + 'PhabricatorProfileMenuEditEngine' => 'applications/search/editor/PhabricatorProfileMenuEditEngine.php', 'PhabricatorProfileMenuEngine' => 'applications/search/engine/PhabricatorProfileMenuEngine.php', 'PhabricatorProfilePanel' => 'applications/search/profilepanel/PhabricatorProfilePanel.php', 'PhabricatorProfilePanelConfiguration' => 'applications/search/storage/PhabricatorProfilePanelConfiguration.php', 'PhabricatorProfilePanelConfigurationQuery' => 'applications/search/query/PhabricatorProfilePanelConfigurationQuery.php', 'PhabricatorProfilePanelConfigurationTransaction' => 'applications/search/storage/PhabricatorProfilePanelConfigurationTransaction.php', 'PhabricatorProfilePanelConfigurationTransactionQuery' => 'applications/search/query/PhabricatorProfilePanelConfigurationTransactionQuery.php', - 'PhabricatorProfilePanelEditEngine' => 'applications/search/editor/PhabricatorProfilePanelEditEngine.php', 'PhabricatorProfilePanelEditor' => 'applications/search/editor/PhabricatorProfilePanelEditor.php', 'PhabricatorProfilePanelIconSet' => 'applications/search/profilepanel/PhabricatorProfilePanelIconSet.php', 'PhabricatorProfilePanelPHIDType' => 'applications/search/phidtype/PhabricatorProfilePanelPHIDType.php', @@ -8450,6 +8450,7 @@ phutil_register_library_map(array( 'PhabricatorPolicyType' => 'PhabricatorPolicyConstants', 'PhabricatorPonderApplication' => 'PhabricatorApplication', 'PhabricatorProfileMenuCollapsedSetting' => 'PhabricatorInternalSetting', + 'PhabricatorProfileMenuEditEngine' => 'PhabricatorEditEngine', 'PhabricatorProfileMenuEngine' => 'Phobject', 'PhabricatorProfilePanel' => 'Phobject', 'PhabricatorProfilePanelConfiguration' => array( @@ -8461,7 +8462,6 @@ phutil_register_library_map(array( 'PhabricatorProfilePanelConfigurationQuery' => 'PhabricatorCursorPagedPolicyAwareQuery', 'PhabricatorProfilePanelConfigurationTransaction' => 'PhabricatorApplicationTransaction', 'PhabricatorProfilePanelConfigurationTransactionQuery' => 'PhabricatorApplicationTransactionQuery', - 'PhabricatorProfilePanelEditEngine' => 'PhabricatorEditEngine', 'PhabricatorProfilePanelEditor' => 'PhabricatorApplicationTransactionEditor', 'PhabricatorProfilePanelIconSet' => 'PhabricatorIconSet', 'PhabricatorProfilePanelPHIDType' => 'PhabricatorPHIDType', diff --git a/src/applications/search/editor/PhabricatorProfilePanelEditEngine.php b/src/applications/search/editor/PhabricatorProfileMenuEditEngine.php similarity index 97% rename from src/applications/search/editor/PhabricatorProfilePanelEditEngine.php rename to src/applications/search/editor/PhabricatorProfileMenuEditEngine.php index 7d8e778461..1cbd4dc3fb 100644 --- a/src/applications/search/editor/PhabricatorProfilePanelEditEngine.php +++ b/src/applications/search/editor/PhabricatorProfileMenuEditEngine.php @@ -1,9 +1,9 @@ getController(); - return id(new PhabricatorProfilePanelEditEngine()) + return id(new PhabricatorProfileMenuEditEngine()) ->setMenuEngine($this) ->setProfileObject($object) ->setNewPanelConfiguration($configuration) @@ -721,7 +721,7 @@ abstract class PhabricatorProfileMenuEngine extends Phobject { $object = $this->getProfileObject(); $controller = $this->getController(); - return id(new PhabricatorProfilePanelEditEngine()) + return id(new PhabricatorProfileMenuEditEngine()) ->setMenuEngine($this) ->setProfileObject($object) ->setController($controller) @@ -751,7 +751,7 @@ abstract class PhabricatorProfileMenuEngine extends Phobject { $object = $this->getProfileObject(); $controller = $this->getController(); - return id(new PhabricatorProfilePanelEditEngine()) + return id(new PhabricatorProfileMenuEditEngine()) ->setIsBuiltin(true) ->setMenuEngine($this) ->setProfileObject($object)