Ignore:
Timestamp:
04/07/10 11:02:26 (14 years ago)
Author:
pedroerp
Message:

Ticket #609 - Últimas modificações e retirada da WorkflowObjects? da GLOBALS.

Location:
sandbox/workflow/branches/609/inc/engine/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sandbox/workflow/branches/609/inc/engine/src/API/Instance.php

    r2311 r2440  
    11701170     
    11711171    //lock rows and ensure access is granted 
    1172     if (!(isset($this->security))) $this->security = &Factory::getInstance('WfSecurity', $this->db); 
     1172    if (!(isset($this->security))) $this->security = &Factory::getInstance('WfSecurity'); 
    11731173    if (!($this->security->checkUserAction($activityId,$this->instanceId,'complete'))) 
    11741174    { 
  • sandbox/workflow/branches/609/inc/engine/src/ProcessManager/ActivityManager.php

    r2311 r2440  
    11951195    elseif ( (!($result=='*')) && $performAccessCheck) 
    11961196    { 
    1197       $wf_security = &Factory::getInstance('WfSecurity', $this->db); 
     1197      $wf_security = &Factory::getInstance('WfSecurity'); 
    11981198      // perform the check 
    11991199      if (!($wf_security->checkUserAccess($result,$activityId))) 
Note: See TracChangeset for help on using the changeset viewer.