- Timestamp:
- 03/19/10 17:22:08 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sandbox/workflow/branches/609/inc/engine/src/common/WfSecurity.php
r795 r2311 23 23 * @access public 24 24 */ 25 function WfSecurity( &$db)25 function WfSecurity() 26 26 { 27 27 $this->child_name = 'WfSecurity'; 28 parent::Base($db); 29 require_once(GALAXIA_LIBRARY.SEP.'src'.SEP.'API'.SEP.'Instance.php'); 30 require_once(GALAXIA_LIBRARY.SEP.'src'.SEP.'API'.SEP.'Process.php'); 31 require_once(GALAXIA_LIBRARY.SEP.'src'.SEP.'API'.SEP.'BaseActivity.php'); 28 parent::Base(); 29 30 /* I'm not really sure if we can strip it out. */ 31 32 //require_once(GALAXIA_LIBRARY.SEP.'src'.SEP.'API'.SEP.'Instance.php'); 33 //require_once(GALAXIA_LIBRARY.SEP.'src'.SEP.'API'.SEP.'Process.php'); 34 //require_once(GALAXIA_LIBRARY.SEP.'src'.SEP.'API'.SEP.'BaseActivity.php'); 32 35 } 33 36 … … 58 61 ); 59 62 //check theses values for this process and store the result for this object life duration 60 $myProcess = new Process($this->db);63 $myProcess = &Factory::newInstance('Process'); 61 64 $myProcess->getProcess($pId); 62 65 $this->processesConfig[$pId] = $myProcess->getConfigValues($arrayConf); … … 577 580 if (!(isset($this->pm))) 578 581 { 579 require_once(GALAXIA_LIBRARY.SEP.'src'.SEP.'ProcessManager'.SEP.'ProcessManager.php'); 580 $this->pm = new ProcessManager($this->db); 582 $this->pm = &Factory::newInstance('ProcessManager'); 581 583 } 582 584 //$this->error[] = 'DEBUG: checking to see if there is no view activities on process :'.$pId.':'.$this->pm->get_process_view_activity($pId);
Note: See TracChangeset
for help on using the changeset viewer.