- Timestamp:
- 03/18/10 08:32:36 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sandbox/workflow/branches/609/inc/local/classes/class.wf_instance.php
r2253 r2292 456 456 if ($userID !== '*') 457 457 { 458 require_once dirname(__FILE__) . '/class.wf_role.php'; 459 require_once dirname(__FILE__) . '/class.wf_engine.php'; 460 461 $wfRole = new wf_role(); 462 $engine = new wf_engine(); 458 $wfRole = Factory::getInstance('wf_role'); 459 $engine = Factory::getInstance('wf_engine'); 463 460 /* get information about the activity */ 464 461 if (($activityInfo = $engine->getActivityInformationByID($activityID)) === false) … … 529 526 530 527 /* try to get the role id */ 531 require_once dirname(__FILE__) . '/class.wf_role.php'; 532 $wfRole = new wf_role(); 528 $wfRole = Factory::getInstance('wf_role'); 533 529 if (($roleID = $wfRole->getRoleIdByName($roleName)) === false) 534 530 return false;
Note: See TracChangeset
for help on using the changeset viewer.