1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-09-20 01:08:50 +02:00

Remove many redundant implementations of canLoadNamedObject()

Summary:
These just got copy/pasted like crazy, the base class has the correct default implementation.

(I'm adding "H" for Herald Rules, which is why I was in this code.)

I also documented the existing prefixes at [[ Object Name Prefixes ]].

Test Plan: Verified base implementation. Typed some object names into the jump nav.

Reviewers: btrahan

Reviewed By: btrahan

CC: hach-que, aran

Differential Revision: https://secure.phabricator.com/D7785
This commit is contained in:
epriestley 2013-12-18 12:00:01 -08:00
parent 181bfffaa1
commit 5863f792a6
21 changed files with 0 additions and 85 deletions

View file

@ -39,8 +39,4 @@ final class PhabricatorConfigPHIDTypeConfig extends PhabricatorPHIDType {
}
}
public function canLoadNamedObject($name) {
return false;
}
}

View file

@ -38,8 +38,4 @@ final class DifferentialPHIDTypeDiff extends PhabricatorPHIDType {
}
}
public function canLoadNamedObject($name) {
return false;
}
}

View file

@ -41,8 +41,4 @@ final class PhabricatorMacroPHIDTypeMacro extends PhabricatorPHIDType {
}
}
public function canLoadNamedObject($name) {
return false;
}
}

View file

@ -37,8 +37,4 @@ final class PhabricatorMailingListPHIDTypeList extends PhabricatorPHIDType {
}
}
public function canLoadNamedObject($name) {
return false;
}
}

View file

@ -38,8 +38,4 @@ final class PhabricatorApplicationPHIDTypeApplication
}
}
public function canLoadNamedObject($name) {
return false;
}
}

View file

@ -39,8 +39,4 @@ final class NuancePHIDTypeItem
}
}
public function canLoadNamedObject($name) {
return false;
}
}

View file

@ -39,8 +39,4 @@ final class NuancePHIDTypeQueue
}
}
public function canLoadNamedObject($name) {
return false;
}
}

View file

@ -39,8 +39,4 @@ final class NuancePHIDTypeRequestor
}
}
public function canLoadNamedObject($name) {
return false;
}
}

View file

@ -39,8 +39,4 @@ final class NuancePHIDTypeSource
}
}
public function canLoadNamedObject($name) {
return false;
}
}

View file

@ -37,8 +37,4 @@ final class PhabricatorPeoplePHIDTypeExternal extends PhabricatorPHIDType {
}
}
public function canLoadNamedObject($name) {
return false;
}
}

View file

@ -40,8 +40,4 @@ final class PhluxPHIDTypeVariable extends PhabricatorPHIDType {
}
}
public function canLoadNamedObject($name) {
return false;
}
}

View file

@ -42,8 +42,4 @@ final class PhragmentPHIDTypeFragment
}
}
public function canLoadNamedObject($name) {
return false;
}
}

View file

@ -42,8 +42,4 @@ final class PhragmentPHIDTypeFragmentVersion
}
}
public function canLoadNamedObject($name) {
return false;
}
}

View file

@ -41,8 +41,4 @@ final class PhragmentPHIDTypeSnapshot
}
}
public function canLoadNamedObject($name) {
return false;
}
}

View file

@ -46,8 +46,4 @@ final class PhrictionPHIDTypeDocument extends PhabricatorPHIDType {
}
}
public function canLoadNamedObject($name) {
return false;
}
}

View file

@ -38,8 +38,4 @@ final class PhabricatorPolicyPHIDTypePolicy
}
}
public function canLoadNamedObject($name) {
return false;
}
}

View file

@ -38,8 +38,4 @@ final class ReleephPHIDTypeBranch extends PhabricatorPHIDType {
}
}
public function canLoadNamedObject($name) {
return false;
}
}

View file

@ -37,8 +37,4 @@ final class ReleephPHIDTypeProject extends PhabricatorPHIDType {
}
}
public function canLoadNamedObject($name) {
return false;
}
}

View file

@ -41,8 +41,4 @@ final class ReleephPHIDTypeRequest extends PhabricatorPHIDType {
}
}
public function canLoadNamedObject($name) {
return false;
}
}

View file

@ -39,9 +39,4 @@ final class PhabricatorRepositoryPHIDTypeMirror
}
}
public function canLoadNamedObject($name) {
return false;
}
}

View file

@ -37,8 +37,4 @@ final class PhabricatorRepositoryPHIDTypePushLog
}
}
public function canLoadNamedObject($name) {
return false;
}
}