Ignore:
Timestamp:
03/18/10 08:32:36 (14 years ago)
Author:
pedroerp
Message:

Ticket #609 - Substituindo instanciações diretas (new) pela nova factory.

File:
1 edited

Legend:

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

    r2233 r2292  
    1717 */ 
    1818require_once dirname(__FILE__) . SEP . 'class.ui_ajaxinterface.inc.php'; 
    19 require_once dirname(__FILE__) . SEP . 'class.workflow_acl.inc.php'; 
    2019require_once 'engine' . SEP . 'config.ajax.inc.php'; 
    2120 
     
    4342        function ui_adminsource() 
    4443        { 
    45                 $this->workflow_acl = new workflow_acl(); 
     44                $this->workflow_acl = Factory::getInstance('workflow_acl'); 
    4645                $denyAccess = true; 
    4746                if ($this->workflow_acl->checkWorkflowAdmin($_SESSION['phpgw_info']['workflow']['account_id'])) 
Note: See TracChangeset for help on using the changeset viewer.