Ignore:
Timestamp:
08/07/09 16:06:07 (15 years ago)
Author:
gbisotto
Message:

Ticket #609 - Modificada a classe Factory e ProcessFactory? para automatizaro acesso ao objetos

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sandbox/workflow/2.0/inc/class.so_adminjobs.inc.php

    r795 r1293  
    9696                $this->isAdmin = $_SESSION['phpgw_info']['workflow']['user_is_admin']; 
    9797                $this->acl = &$GLOBALS['ajax']->acl; 
    98                 $this->db = &$GLOBALS['workflow']['workflowObjects']->getDBGalaxia()->Link_ID; 
     98                $this->db = &Factory::getInstance('WorkflowObjects')->getDBGalaxia()->Link_ID; 
    9999                $this->jobManager = new JobManager(&$this->db); 
    100100        } 
     
    229229                $output = array(); 
    230230                $job = $this->jobManager->getJob($jobID); 
    231                 $jobScheduler = &$GLOBALS['workflow']['factory']->getInstance('JobScheduler'); 
     231                $jobScheduler =& Factory::getInstance('JobScheduler'); 
    232232                $totalTime = microtime(true); 
    233233                $thread = $jobScheduler->execute($job, true); 
Note: See TracChangeset for help on using the changeset viewer.