forked from GNUsocial/gnu-social
[DATABASE] Removed calls to common_config
This commit is contained in:
parent
b52f0c795e
commit
1589f6e26f
@ -85,9 +85,10 @@ class Notice
|
||||
],
|
||||
];
|
||||
|
||||
if (common_config('search', 'type') == 'fulltext') {
|
||||
$def['fulltext indexes'] = ['content' => ['content']];
|
||||
}
|
||||
// TODO
|
||||
// if (common_config('search', 'type') == 'fulltext') {
|
||||
// $def['fulltext indexes'] = ['content' => ['content']];
|
||||
// }
|
||||
|
||||
return $def;
|
||||
}
|
||||
|
@ -64,11 +64,10 @@ class Profile
|
||||
],
|
||||
];
|
||||
|
||||
// Add a fulltext index
|
||||
|
||||
if (common_config('search', 'type') == 'fulltext') {
|
||||
$def['fulltext indexes'] = ['nickname' => ['nickname', 'fullname', 'location', 'bio', 'homepage']];
|
||||
}
|
||||
// TODO
|
||||
// if (common_config('search', 'type') == 'fulltext') {
|
||||
// $def['fulltext indexes'] = ['nickname' => ['nickname', 'fullname', 'location', 'bio', 'homepage']];
|
||||
// }
|
||||
|
||||
return $def;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user