removed pdftotext check in mfUpload

This commit is contained in:
Frank Schubert
2022-05-03 15:59:01 +02:00
parent 60c7718ecc
commit 56e30e6424

View File

@@ -121,12 +121,16 @@ class mfUpload {
return false;
}
/*
// false positives if PDF consists of images only
$pdftext = $this->upload->pdftotext();
//$this->log->debug("text: ".$pdftext);
if(strlen($pdftext) < 100) {
$this->log->warn("pdftotext less than 100 bytes (".$this->filename.")");
return false;
}
*/
//$this->log->debug("upload text: $pdftext");
return true;