mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-28 17:52:43 +01:00
00f1389f72
Summary: Ref T9897. Mostly straightforward, but also modernize/fixup the Query a little so that posts never load with no blog. Test Plan: Queried posts via API. Reviewers: chad Reviewed By: chad Maniphest Tasks: T9897 Differential Revision: https://secure.phabricator.com/D14901
18 lines
356 B
PHP
18 lines
356 B
PHP
<?php
|
|
|
|
final class PhamePostSearchConduitAPIMethod
|
|
extends PhabricatorSearchEngineAPIMethod {
|
|
|
|
public function getAPIMethodName() {
|
|
return 'phame.post.search';
|
|
}
|
|
|
|
public function newSearchEngine() {
|
|
return new PhamePostSearchEngine();
|
|
}
|
|
|
|
public function getMethodSummary() {
|
|
return pht('Read information about blog posts.');
|
|
}
|
|
|
|
}
|