* finish task #7301.
This commit is contained in:
@@ -33,11 +33,12 @@ class control extends baseControl
|
||||
{
|
||||
parent::__construct($moduleName, $methodName, $appName);
|
||||
|
||||
if(!defined('IN_INSTALL') and !defined('IN_UPGRADE')) $this->setConcept();
|
||||
if(defined('IN_USE') or (defined('RUN_MODE') and RUN_MODE == 'api')) $this->setConcept();
|
||||
|
||||
if(!isset($this->config->bizVersion)) return false;
|
||||
|
||||
/* Code for task #9224. Set requiredFields for workflow. */
|
||||
if($this->dbh and $this->moduleName != 'upgrade' and $this->moduleName != 'install' and !defined('IN_INSTALL') and !defined('IN_UPGRADE'))
|
||||
if($this->dbh or defined('IN_USE') or (defined('RUN_MODE') and RUN_MODE == 'api'))
|
||||
{
|
||||
$this->checkRequireFlowField();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user