Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F13984103
D16602.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
2 KB
Referenced Files
None
Subscribers
None
D16602.diff
View Options
diff --git a/src/applications/conduit/query/PhabricatorConduitMethodQuery.php b/src/applications/conduit/query/PhabricatorConduitMethodQuery.php
--- a/src/applications/conduit/query/PhabricatorConduitMethodQuery.php
+++ b/src/applications/conduit/query/PhabricatorConduitMethodQuery.php
@@ -21,11 +21,6 @@
return $this;
}
- public function withApplicationNames(array $application_names) {
- $this->applicationNames = $application_names;
- return $this;
- }
-
public function withIsStable($is_stable) {
$this->isStable = $is_stable;
return $this;
@@ -86,17 +81,6 @@
}
}
- if ($this->applicationNames) {
- $map = array_fuse($this->applicationNames);
- foreach ($methods as $key => $method) {
- $needle = $method->getApplicationName();
- $needle = phutil_utf8_strtolower($needle);
- if (empty($map[$needle])) {
- unset($methods[$key]);
- }
- }
- }
-
if ($this->nameContains) {
$needle = phutil_utf8_strtolower($this->nameContains);
foreach ($methods as $key => $method) {
diff --git a/src/applications/conduit/query/PhabricatorConduitSearchEngine.php b/src/applications/conduit/query/PhabricatorConduitSearchEngine.php
--- a/src/applications/conduit/query/PhabricatorConduitSearchEngine.php
+++ b/src/applications/conduit/query/PhabricatorConduitSearchEngine.php
@@ -21,11 +21,6 @@
$saved->setParameter('isStable', $request->getStr('isStable'));
$saved->setParameter('isUnstable', $request->getStr('isUnstable'));
$saved->setParameter('isDeprecated', $request->getStr('isDeprecated'));
-
- $saved->setParameter(
- 'applicationNames',
- $request->getStrList('applicationNames'));
-
$saved->setParameter('nameContains', $request->getStr('nameContains'));
return $saved;
@@ -39,11 +34,6 @@
$query->withIsDeprecated($saved->getParameter('isDeprecated'));
$query->withIsInternal(false);
- $names = $saved->getParameter('applicationNames', array());
- if ($names) {
- $query->withApplicationNames($names);
- }
-
$contains = $saved->getParameter('nameContains');
if (strlen($contains)) {
$query->withNameContains($contains);
@@ -63,18 +53,6 @@
->setName('nameContains')
->setValue($saved->getParameter('nameContains')));
- $names = $saved->getParameter('applicationNames', array());
- $form
- ->appendChild(
- id(new AphrontFormTextControl())
- ->setLabel(pht('Applications'))
- ->setName('applicationNames')
- ->setValue(implode(', ', $names))
- ->setCaption(
- pht(
- 'Example: %s',
- phutil_tag('tt', array(), 'differential, paste'))));
-
$is_stable = $saved->getParameter('isStable');
$is_unstable = $saved->getParameter('isUnstable');
$is_deprecated = $saved->getParameter('isDeprecated');
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Oct 21, 11:00 AM (4 w, 20 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6724777
Default Alt Text
D16602.diff (2 KB)
Attached To
Mode
D16602: Remove "Application" field from ConduitSearchEngine
Attached
Detach File
Event Timeline
Log In to Comment