Ignore:
Timestamp:
03/19/10 17:22:08 (14 years ago)
Author:
pedroerp
Message:

Ticket #609 - Migrando instanciação das classes da engine para a factory.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sandbox/workflow/branches/609/inc/class.bo_editor.inc.php

    r795 r2311  
    1111 
    1212require_once('class.bo_ajaxinterface.inc.php'); 
    13 require_once(GALAXIA_LIBRARY . SEP . 'src' . SEP . 'ProcessManager' . SEP . 'ActivityManager.php'); 
    1413require_once(GALAXIA_LIBRARY . SEP . 'src' . SEP . 'ProcessManager' . SEP . 'ProcessManager.php'); 
    1514/** 
     
    234233                if ($p['tipo_codigo'] != 'include') 
    235234                { 
    236                         $activity_manager   = new ActivityManager($GLOBALS['workflow']['workflowObjects']->getDBGalaxia()->Link_ID); 
     235                        $activity_manager   = &Factory::newInstance('ActivityManager'); 
    237236 
    238237                        if ($this->check_process($p['proc_id'], &$activity_manager, &$error_str) == 'n') 
Note: See TracChangeset for help on using the changeset viewer.