Remove permission check from PDF generator test route
The unused permission check was commented out, so it has been fully removed to simplify the code. This change maintains the existing functionality while cleaning up redundant code.
This commit is contained in:
@@ -22,7 +22,6 @@ class pdfGeneratorRoute
|
||||
/** PDF Generator > GET */
|
||||
$this->get('/modules/pdf-generator/test', function () {
|
||||
global $response;
|
||||
//self::requirePermission('modules_pdf_generator_test');
|
||||
if (true) {
|
||||
// Check if the required parameters are present
|
||||
self::requireParameters([
|
||||
|
||||
Reference in New Issue
Block a user