mirror of
https://github.com/silverstripe/silverstripe-textextraction
synced 2024-10-22 11:06:00 +02:00
Merge pull request #15 from kinglozzer/patch-2
FIX: SolrCellTextExtractor always reporting itself as unavailable (fixes #14)
This commit is contained in:
commit
832437e4bf
@ -39,7 +39,7 @@ class SolrCellTextExtractor extends FileTextExtractor {
|
|||||||
|
|
||||||
public function isAvailable() {
|
public function isAvailable() {
|
||||||
$url = $this->config()->get('base_url');
|
$url = $this->config()->get('base_url');
|
||||||
if(!$url) return false;
|
return (boolean) $url;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function supportsExtension($extension) {
|
public function supportsExtension($extension) {
|
||||||
|
Loading…
Reference in New Issue
Block a user