* Return true if RUN_MODE = api.
This commit is contained in:
@@ -3039,6 +3039,8 @@ EOF;
|
|||||||
*/
|
*/
|
||||||
public static function canBeChanged($module, $object = null)
|
public static function canBeChanged($module, $object = null)
|
||||||
{
|
{
|
||||||
|
if(defined('RUN_MODE') && RUN_MODE == 'api') return true;
|
||||||
|
|
||||||
global $app, $config;
|
global $app, $config;
|
||||||
static $productsStatus = array();
|
static $productsStatus = array();
|
||||||
static $executionsStatus = array();
|
static $executionsStatus = array();
|
||||||
|
|||||||
Reference in New Issue
Block a user