jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/371591 )
Change subject: Remove deprecated wfProfileIn()/wfProfileOut() ...................................................................... Remove deprecated wfProfileIn()/wfProfileOut() Change-Id: Ibf6ddfa305565adcd751d7cc141d36cabf551b1d --- M PdfHandler.image.php 1 file changed, 0 insertions(+), 4 deletions(-) Approvals: Legoktm: Looks good to me, approved jenkins-bot: Verified diff --git a/PdfHandler.image.php b/PdfHandler.image.php index 57abcf8..8346b31 100644 --- a/PdfHandler.image.php +++ b/PdfHandler.image.php @@ -113,7 +113,6 @@ global $wgPdfInfo, $wgPdftoText; if ( $wgPdfInfo ) { - wfProfileIn( 'pdfinfo' ); $cmd = wfEscapeShellArg( $wgPdfInfo ) . " -enc UTF-8 " . # Report metadata as UTF-8 text... " -l 9999999 " . # Report page sizes for all pages @@ -122,19 +121,16 @@ $retval = ''; $dump = wfShellExec( $cmd, $retval ); $data = $this->convertDumpToArray( $dump ); - wfProfileOut( 'pdfinfo' ); } else { $data = null; } // Read text layer if ( isset( $wgPdftoText ) ) { - wfProfileIn( 'pdftotext' ); $cmd = wfEscapeShellArg( $wgPdftoText ) . ' '. wfEscapeShellArg( $this->mFilename ) . ' - '; wfDebug( __METHOD__.": $cmd\n" ); $retval = ''; $txt = wfShellExec( $cmd, $retval ); - wfProfileOut( 'pdftotext' ); if ( $retval == 0 ) { $txt = str_replace( "\r\n", "\n", $txt ); $pages = explode( "\f", $txt ); -- To view, visit https://gerrit.wikimedia.org/r/371591 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: Ibf6ddfa305565adcd751d7cc141d36cabf551b1d Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/PdfHandler Gerrit-Branch: master Gerrit-Owner: MaxSem <maxsem.w...@gmail.com> Gerrit-Reviewer: Legoktm <lego...@member.fsf.org> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits