Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F18672706
D15769.id37991.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D15769.id37991.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Fri, Sep 26, 8:06 AM (1 w, 2 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
9049527
Default Alt Text
D15769.id37991.diff (1 KB)
Attached To
Mode
D15769: Formally deprecate owners.query Conduit API method
Attached
Detach File
Event Timeline
Log In to Comment