- Timestamp:
- 03/26/10 15:08:47 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sandbox/workflow/branches/609/inc/class.run_activity.inc.php
r2311 r2355 205 205 { 206 206 parent::WorkflowUtils(); 207 $this->runtime = Factory::getInstance('workflow_wfruntime'); 207 208 /** 209 * We should always use newInstance to instantiate 210 * 'workflow_wfruntime' 211 */ 212 $this->runtime = &Factory::newInstance('workflow_wfruntime'); 208 213 $this->runtime->setDebug(_DEBUG); 209 214 //$this->base_activity = Factory::getInstance('workflow_baseactivity'); 210 215 //$this->process = Factory::getInstance('workflow_process'); 211 $this->GUI =Factory::getInstance('workflow_gui');212 $this->categories =Factory::getInstance('categories');213 214 $this->workflowSmarty =Factory::getInstance('workflow_smarty', false);216 $this->GUI = &Factory::getInstance('workflow_gui'); 217 $this->categories = &Factory::getInstance('categories'); 218 219 $this->workflowSmarty = &Factory::getInstance('workflow_smarty', false); 215 220 // TODO: open a new connection to the database under a different username to allow privilege handling on tables 216 221 /* CELEPAR */
Note: See TracChangeset
for help on using the changeset viewer.