Ignore:
Timestamp:
03/12/10 10:59:32 (14 years ago)
Author:
pedroerp
Message:

Ticket #609 - Migração das classes do módulo workflow para a nova factory.

File:
1 edited

Legend:

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

    r795 r2233  
    5252        function external_bridge() 
    5353        { 
    54                 $this->db = $GLOBALS['workflow']['workflowObjects']->getDBGalaxia(); 
    55                 $this->acl = new so_adminaccess($GLOBALS['workflow']['workflowObjects']->getDBGalaxia()->Link_ID); 
     54                $this->db = Factory::getInstance('WorkflowObjects')->getDBGalaxia(); 
     55                $this->acl = new so_adminaccess(Factory::getInstance('WorkflowObjects')->getDBGalaxia()->Link_ID); 
    5656        } 
    5757        /** 
     
    156156 
    157157                /* assign variables to the template */ 
    158                 $smarty = $GLOBALS['workflow']['factory']->getInstance('workflow_smarty', false); 
     158                $smarty = Factory::getInstance('workflow_smarty', false); 
    159159                $smarty->assign('encodedForm', $encodedForm); 
    160160                $smarty->assign('siteAddress', $this->siteAddress); 
Note: See TracChangeset for help on using the changeset viewer.