Add check if fts is enabled
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
@@ -191,7 +191,7 @@ class Application extends App {
|
||||
}
|
||||
|
||||
public function registerFullTextSearch() {
|
||||
if (Util::getVersion()[0] < 16) {
|
||||
if (Util::getVersion()[0] < 16 || !\OC::$server->getAppManager()->isEnabledForUser('fulltextsearch')) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user