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:
parent
923d3d3060
commit
d6704705a7
3 changed files with 7 additions and 7 deletions
|
@ -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',
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
<?php
|
||||
|
||||
final class PhabricatorProfilePanelEditEngine
|
||||
final class PhabricatorProfileMenuEditEngine
|
||||
extends PhabricatorEditEngine {
|
||||
|
||||
const ENGINECONST = 'search.profilepanel';
|
||||
const ENGINECONST = 'search.profilemenu';
|
||||
|
||||
private $menuEngine;
|
||||
private $profileObject;
|
|
@ -708,7 +708,7 @@ abstract class PhabricatorProfileMenuEngine extends Phobject {
|
|||
|
||||
$controller = $this->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)
|
||||
|
|
Loading…
Reference in a new issue