- Timestamp:
- 03/12/10 10:59:32 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sandbox/workflow/branches/609/inc/class.JobRunner.inc.php
r795 r2233 43 43 $this->parameters = unserialize(base64_decode($parameters)); 44 44 $this->parameters['currentDate'] = new DateTime($this->parameters['currentDate']); 45 $this->jobManager = &$GLOBALS['workflow']['factory']->getInstance('WorkflowJobManager');45 $this->jobManager =& Factory::getInstance('WorkflowJobManager'); 46 46 } 47 47 … … 66 66 { 67 67 /* activate the security policy */ 68 $GLOBALS['workflow']['factory']->getInstance('WorkflowSecurity')->enableSecurityPolicy();68 Factory::getInstance('WorkflowSecurity')->enableSecurityPolicy(); 69 69 70 70 if (!file_exists($this->parameters['file'])) … … 94 94 95 95 require_once 'common.inc.php'; 96 $GLOBALS['workflow']['factory']->getInstance('WorkflowMacro')->prepareEnvironment();96 Factory::getInstance('WorkflowMacro')->prepareEnvironment(); 97 97 98 98 $jobRunner = new JobRunner($argv[1]);
Note: See TracChangeset
for help on using the changeset viewer.