diff --git a/includes/PdfHandler.php b/includes/PdfHandler.php index 010e833..ceb1965 100644 --- a/includes/PdfHandler.php +++ b/includes/PdfHandler.php @@ -62,21 +62,6 @@ class PdfHandler extends ImageHandler { */ private const STATE_DIMENSION_INFO = 'pdfDimensionInfo'; - /** - * @return bool - */ - public function isEnabled() { - global $wgPdfProcessor, $wgPdfPostProcessor, $wgPdfInfo; - - if ( !isset( $wgPdfProcessor ) || !isset( $wgPdfPostProcessor ) || !isset( $wgPdfInfo ) ) { - wfDebug( "PdfHandler is disabled, please set the following\n" ); - wfDebug( "variables in LocalSettings.php:\n" ); - wfDebug( "\$wgPdfProcessor, \$wgPdfPostProcessor, \$wgPdfInfo\n" ); - return false; - } - return true; - } - /** * @param File $file * @return bool