Author: david
Date: Thu Jul 26 14:04:49 2012
New Revision: 11985
Log:
Discard warnings from pdftotext
Modified:
trunk/lib/model/QubitDigitalObject.php
Modified: trunk/lib/model/QubitDigitalObject.php
==============================================================================
--- trunk/lib/model/QubitDigitalObject.php Thu Jul 26 11:59:27 2012
(r11984)
+++ trunk/lib/model/QubitDigitalObject.php Thu Jul 26 14:04:49 2012
(r11985)
@@ -1914,7 +1914,7 @@
return;
}
- $command = sprintf('pdftotext %s -', $this->getAbsolutePath());
+ $command = sprintf('pdftotext %s - 2> /dev/null',
$this->getAbsolutePath());
exec($command, $output, $status);
if (0 == $status && 0 < count($output))
--
You received this message because you are subscribed to the Google Groups
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/qubit-commits?hl=en.