Page MenuHomePhabricator

D11117.diff
No OneTemporary

D11117.diff

diff --git a/src/__phutil_library_map__.php b/src/__phutil_library_map__.php
--- a/src/__phutil_library_map__.php
+++ b/src/__phutil_library_map__.php
@@ -1005,7 +1005,6 @@
'ManiphestExcelDefaultFormat' => 'applications/maniphest/export/ManiphestExcelDefaultFormat.php',
'ManiphestExcelFormat' => 'applications/maniphest/export/ManiphestExcelFormat.php',
'ManiphestExportController' => 'applications/maniphest/controller/ManiphestExportController.php',
- 'ManiphestFindConduitAPIMethod' => 'applications/maniphest/conduit/ManiphestFindConduitAPIMethod.php',
'ManiphestGetTaskTransactionsConduitAPIMethod' => 'applications/maniphest/conduit/ManiphestGetTaskTransactionsConduitAPIMethod.php',
'ManiphestHovercardEventListener' => 'applications/maniphest/event/ManiphestHovercardEventListener.php',
'ManiphestInfoConduitAPIMethod' => 'applications/maniphest/conduit/ManiphestInfoConduitAPIMethod.php',
@@ -4116,7 +4115,6 @@
'ManiphestEditStatusCapability' => 'PhabricatorPolicyCapability',
'ManiphestExcelDefaultFormat' => 'ManiphestExcelFormat',
'ManiphestExportController' => 'ManiphestController',
- 'ManiphestFindConduitAPIMethod' => 'ManiphestQueryConduitAPIMethod',
'ManiphestGetTaskTransactionsConduitAPIMethod' => 'ManiphestConduitAPIMethod',
'ManiphestHovercardEventListener' => 'PhabricatorEventListener',
'ManiphestInfoConduitAPIMethod' => 'ManiphestConduitAPIMethod',
diff --git a/src/applications/maniphest/conduit/ManiphestFindConduitAPIMethod.php b/src/applications/maniphest/conduit/ManiphestFindConduitAPIMethod.php
deleted file mode 100644
--- a/src/applications/maniphest/conduit/ManiphestFindConduitAPIMethod.php
+++ /dev/null
@@ -1,25 +0,0 @@
-<?php
-
-/**
- * @concrete-extensible
- */
-final class ManiphestFindConduitAPIMethod
- extends ManiphestQueryConduitAPIMethod {
-
- public function getAPIMethodName() {
- return 'maniphest.find';
- }
-
- public function getMethodStatus() {
- return self::METHOD_STATUS_DEPRECATED;
- }
-
- public function getMethodStatusDescription() {
- return "Renamed to 'maniphest.query'.";
- }
-
- public function getMethodDescription() {
- return 'Deprecated alias of maniphest.query';
- }
-
-}
diff --git a/src/applications/maniphest/conduit/ManiphestQueryConduitAPIMethod.php b/src/applications/maniphest/conduit/ManiphestQueryConduitAPIMethod.php
--- a/src/applications/maniphest/conduit/ManiphestQueryConduitAPIMethod.php
+++ b/src/applications/maniphest/conduit/ManiphestQueryConduitAPIMethod.php
@@ -1,11 +1,6 @@
<?php
-/**
- * TODO: Remove maniphest.find, then make this final.
- *
- * @concrete-extensible
- */
-class ManiphestQueryConduitAPIMethod extends ManiphestConduitAPIMethod {
+final class ManiphestQueryConduitAPIMethod extends ManiphestConduitAPIMethod {
public function getAPIMethodName() {
return 'maniphest.query';

File Metadata

Mime Type
text/plain
Expires
Sun, Dec 22, 8:23 AM (15 h, 58 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6917932
Default Alt Text
D11117.diff (2 KB)

Event Timeline