Skip to content
Snippets Groups Projects
Commit fbb5ffa2 authored by Ghislain Loas's avatar Ghislain Loas
Browse files

Merge branch 'hotline#141251_la_colonne_cfg_modules_des_profils_est_corrumpue' into 'hotline'

hotline MT #141251 fix run with scripts/upgrade_db.php

See merge request !4203
parents a86a2116 d0a83910
Branches
Tags
3 merge requests!4207Master,!4206Hotline,!4203hotline MT #141251 fix run with scripts/upgrade_db.php
Pipeline #14708 failed with stage
in 1 hour and 6 seconds
......@@ -34,9 +34,25 @@ class Class_Migration_CleanProfileCfgModules {
$front_controller =
Zend_Controller_Front::getInstance()
->setRequest($this->_request)
->throwExceptions(true)
->returnResponse(false);
->setRequest($this->_request)
->throwExceptions(true)
->returnResponse(false);
$this->_dispatcher = $front_controller->getDispatcher();
if ( $this->_dispatcher->isValidModule('opac'))
return;
(new Bokeh_Engine)
->warmUp()
->setupControllerActionHelper()
->setupFrontController();
$front_controller =
Zend_Controller_Front::getInstance()
->setRequest($this->_request)
->throwExceptions(true)
->returnResponse(false);
$this->_dispatcher = $front_controller->getDispatcher();
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment