diff --git a/mod/assign/feedback/editpdf/fpdi/fpdi_bridge.php b/mod/assign/feedback/editpdf/fpdi/fpdi_bridge.php index b2e43c41e71..2062185378f 100644 --- a/mod/assign/feedback/editpdf/fpdi/fpdi_bridge.php +++ b/mod/assign/feedback/editpdf/fpdi/fpdi_bridge.php @@ -16,17 +16,6 @@ * This way it is possible to use FPDI for both FPDF and TCPDF with one FPDI version. */ -if (!class_exists('TCPDF', false)) { - /** - * Class fpdi_bridge - */ - class fpdi_bridge extends FPDF - { - // empty body - } - -} else { - /** * Class fpdi_bridge * @@ -205,4 +194,3 @@ if (!class_exists('TCPDF', false)) { return current(unpack('H*', $str)); } } -} \ No newline at end of file diff --git a/mod/assign/feedback/editpdf/fpdi/readme_moodle.txt b/mod/assign/feedback/editpdf/fpdi/readme_moodle.txt index 7cac3bb2488..edc01d85d79 100644 --- a/mod/assign/feedback/editpdf/fpdi/readme_moodle.txt +++ b/mod/assign/feedback/editpdf/fpdi/readme_moodle.txt @@ -19,6 +19,13 @@ Installation 3) Update mod/assign/feedback/editpdf/fpdi/fpdi_bridge.php (or the replacement file) to extend 'pdf' instead of 'TCPDF'. 4) Make a note below of any changes made. +2016/11/15 +---------- + +1) Class not exists check and the empty fpdi_bridge class has been removed from fpdi_bridge.php to fix a behat error. + +Updated by Simey Lameze (MDL-55848) + 2015/12/04 ---------- Updated to FPDI: 1.6.1