mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-05 05:02:44 +01:00
19525ed81a
Summary: Ref T10978. This is bare bones, but the SearchEngine is at least mostly in reasonable shape now, so get it in place and freeze the old stuff. I previously froze `audit.query`, which did much the same thing. Test Plan: Issued some queries with the API, technically got results back. Reviewers: chad Reviewed By: chad Maniphest Tasks: T10978 Differential Revision: https://secure.phabricator.com/D17194
18 lines
373 B
PHP
18 lines
373 B
PHP
<?php
|
|
|
|
final class DiffusionCommitSearchConduitAPIMethod
|
|
extends PhabricatorSearchEngineAPIMethod {
|
|
|
|
public function getAPIMethodName() {
|
|
return 'diffusion.commit.search';
|
|
}
|
|
|
|
public function newSearchEngine() {
|
|
return new PhabricatorCommitSearchEngine();
|
|
}
|
|
|
|
public function getMethodSummary() {
|
|
return pht('Read information about commits.');
|
|
}
|
|
|
|
}
|