lib: Do not setLayout('pdf') twice

This commit is contained in:
Eric Lippmann 2015-02-11 15:15:18 +01:00
parent ded045e32c
commit 97261cd8bd
1 changed files with 0 additions and 1 deletions

View File

@ -402,7 +402,6 @@ class ActionController extends Zend_Controller_Action
} }
if ($req->getParam('format') === 'pdf') { if ($req->getParam('format') === 'pdf') {
$layout->setLayout('pdf');
$this->shutdownSession(); $this->shutdownSession();
$this->sendAsPdf(); $this->sendAsPdf();
exit; exit;