Skip to content

Commit c39da32

Browse files
author
aksm
committed
Remove unnecessary restore for exception handler.
1 parent 5edefd4 commit c39da32

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/Form/MetadataDisplayForm.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,6 @@ public static function ajaxPreview($form, FormStateInterface $form_state) {
443443
}
444444
if ($show_render_native) {
445445
restore_error_handler();
446-
restore_exception_handler();
447446
}
448447
$response->addCommand(new OpenOffCanvasDialogCommand(t('Preview'), $output, ['width' => '50%']));
449448
}

0 commit comments

Comments
 (0)