diff options
author | Maxence Lange <maxence@artificial-owl.com> | 2019-04-10 11:46:20 -0100 |
---|---|---|
committer | Maxence Lange <maxence@artificial-owl.com> | 2019-04-10 11:46:20 -0100 |
commit | 6684bf457030f46825b785a18d0029d2fccd0f87 (patch) | |
tree | 3cf93c71d0ae1f74ce09953023d4d233dfa08f95 /lib/public/FullTextSearch | |
parent | d1e4d614daa52503b1a0bb5ebcaf6a7d2b33edb7 (diff) | |
download | nextcloud-server-6684bf457030f46825b785a18d0029d2fccd0f87.tar.gz nextcloud-server-6684bf457030f46825b785a18d0029d2fccd0f87.zip |
+isAvailable()
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'lib/public/FullTextSearch')
-rw-r--r-- | lib/public/FullTextSearch/IFullTextSearchManager.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/public/FullTextSearch/IFullTextSearchManager.php b/lib/public/FullTextSearch/IFullTextSearchManager.php index 1027f7ade75..3c2aa6324d7 100644 --- a/lib/public/FullTextSearch/IFullTextSearchManager.php +++ b/lib/public/FullTextSearch/IFullTextSearchManager.php @@ -78,6 +78,16 @@ interface IFullTextSearchManager { */ public function registerSearchService(ISearchService $searchService); + /** + * returns true is Full Text Search is available (app is present and Service + * are registered) + * + * @since 16.0.0 + * + * @return bool + */ + public function isAvailable(): bool; + /** * Add the Javascript API in the navigation page of an app. |