Remove deprecated code
This commit is contained in:
parent
9ac77de47c
commit
94a900bb5c
|
@ -261,14 +261,9 @@ class ActionController extends Zend_Controller_Action
|
||||||
Benchmark::measure('Action::postDispatch()');
|
Benchmark::measure('Action::postDispatch()');
|
||||||
|
|
||||||
if ($this->_request->isXmlHttpRequest()) {
|
if ($this->_request->isXmlHttpRequest()) {
|
||||||
$target = ($this->getParam('render') === 'detail') ? 'inline' : 'body';
|
$this->_helper->layout()->setLayout('inline');
|
||||||
if ($target !== 'inline') {
|
|
||||||
$target = ($this->getParam('view') === 'compact') ? 'inline' : 'body';
|
|
||||||
}
|
|
||||||
$target = 'inline';
|
|
||||||
$this->_helper->layout()->setLayout($target);
|
|
||||||
}
|
}
|
||||||
if ($user = $this->getRequest()->getUser()) {
|
if ($user = $this->_request->getUser()) {
|
||||||
if ($user->getPreferences()->get('app.showBenchmark') === true) {
|
if ($user->getPreferences()->get('app.showBenchmark') === true) {
|
||||||
Benchmark::measure('Response ready');
|
Benchmark::measure('Response ready');
|
||||||
$this->_helper->layout()->benchmark = $this->renderBenchmark();
|
$this->_helper->layout()->benchmark = $this->renderBenchmark();
|
||||||
|
|
Loading…
Reference in New Issue