Page MenuHomePhabricator

D15769.id37991.diff
No OneTemporary

D15769.id37991.diff

diff --git a/src/applications/owners/conduit/OwnersQueryConduitAPIMethod.php b/src/applications/owners/conduit/OwnersQueryConduitAPIMethod.php
--- a/src/applications/owners/conduit/OwnersQueryConduitAPIMethod.php
+++ b/src/applications/owners/conduit/OwnersQueryConduitAPIMethod.php
@@ -6,12 +6,17 @@
return 'owners.query';
}
+ public function getMethodStatus() {
+ return self::METHOD_STATUS_DEPRECATED;
+ }
+
+ public function getMethodStatusDescription() {
+ return pht('Obsolete; use "owners.search" instead.');
+ }
+
+
public function getMethodDescription() {
- return pht(
- 'Query for packages by one of the following: repository/path, '.
- 'packages with a given user or project owner, or packages affiliated '.
- 'with a user (owned by either the user or a project they are a member '.
- 'of.) You should only provide at most one search query.');
+ return pht('Query for Owners packages. Obsoleted by "owners.search".');
}
protected function defineParamTypes() {

File Metadata

Mime Type
text/plain
Expires
Mar 9 2025, 7:38 PM (5 w, 5 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7390935
Default Alt Text
D15769.id37991.diff (1 KB)

Event Timeline