Ignore:
Timestamp:
03/22/10 16:49:23 (14 years ago)
Author:
pedroerp
Message:

Ticket #609 - Removendo 'require_once's desnecessários.

File:
1 edited

Legend:

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

    r2233 r2323  
    10911091                $this->_checkAccess($organizationID, false, true); 
    10921092 
     1093                /** 
     1094                 * This is so wrong.. We should always use the factory to 
     1095                 * instantiate stuff. Besides, module class should not 
     1096                 * use process classes; the correct is to do the inverse. 
     1097                 */ 
    10931098                require_once dirname(__FILE__) . '/local/classes/class.wf_orgchart.php'; 
    10941099                $orgchart = new wf_orgchart(); 
     
    15121517 
    15131518                /* we must query ldap to get full user names. In workflow db we just store uids */ 
    1514                 $cachedLDAP = Factory::newInstance('CachedLDAP'); 
    1515  
    1516                 $cachedLDAP->getEntryByID(); 
     1519                $cachedLDAP = Factory::getInstance('CachedLDAP'); 
    15171520 
    15181521                $output = $result->GetArray(-1); 
Note: See TracChangeset for help on using the changeset viewer.