Ignore:
Timestamp:
04/14/10 16:08:15 (14 years ago)
Author:
pedroerp
Message:

Ticket #993 - Merged 2377:2466 /sandbox/workflow/trunk/ em /sandbox/workflow/branches/993

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

Legend:

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

    r2372 r2533  
    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/993/inc/engine/src/ProcessManager/ActivityManager.php

    r2372 r2533  
    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.