Changeset 1293 for sandbox/workflow/2.0/inc/class.so_adminjobs.inc.php
- Timestamp:
- 08/07/09 16:06:07 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sandbox/workflow/2.0/inc/class.so_adminjobs.inc.php
r795 r1293 96 96 $this->isAdmin = $_SESSION['phpgw_info']['workflow']['user_is_admin']; 97 97 $this->acl = &$GLOBALS['ajax']->acl; 98 $this->db = & $GLOBALS['workflow']['workflowObjects']->getDBGalaxia()->Link_ID;98 $this->db = &Factory::getInstance('WorkflowObjects')->getDBGalaxia()->Link_ID; 99 99 $this->jobManager = new JobManager(&$this->db); 100 100 } … … 229 229 $output = array(); 230 230 $job = $this->jobManager->getJob($jobID); 231 $jobScheduler = &$GLOBALS['workflow']['factory']->getInstance('JobScheduler');231 $jobScheduler =& Factory::getInstance('JobScheduler'); 232 232 $totalTime = microtime(true); 233 233 $thread = $jobScheduler->execute($job, true);
Note: See TracChangeset
for help on using the changeset viewer.