- Timestamp:
- 08/17/10 16:17:12 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2/workflow/inc/class.ui_adminprocesses.inc.php
r989 r3167 54 54 parent::bo_workflow_forms('admin_processes'); 55 55 56 $this->workflow_acl = CreateObject('workflow.workflow_acl');56 $this->workflow_acl = Factory::getInstance('workflow_acl'); 57 57 $denyAccess = true; 58 58 if ($this->workflow_acl->checkWorkflowAdmin($GLOBALS['phpgw_info']['user']['account_id'])) … … 83 83 } 84 84 85 $this->process_manager = CreateObject('workflow.workflow_processmanager');86 $this->activity_manager = CreateObject('workflow.workflow_activitymanager');85 $this->process_manager = Factory::getInstance('workflow_processmanager'); 86 $this->activity_manager = Factory::getInstance('workflow_activitymanager'); 87 87 88 88 $this->form_action = $GLOBALS['phpgw']->link('/index.php', 'menuaction=workflow.ui_adminprocesses.form'); … … 127 127 } 128 128 129 if (! $GLOBALS['workflow']['factory']->getInstance('workflow_acl')->checkWorkflowAdmin($GLOBALS['phpgw_info']['user']['account_id']))129 if (!Factory::getInstance('workflow_acl')->checkWorkflowAdmin($GLOBALS['phpgw_info']['user']['account_id'])) 130 130 { 131 131 $proc_ids = $this->workflow_acl->get_granted_processes($GLOBALS['phpgw_info']['user']['account_id']); … … 190 190 $known_config_items = array_merge($known_config_items, array('Log Options' => 'title', 'log_level' => $log_levels)); 191 191 192 $bo_agent = CreateObject('workflow.bo_agent_mail_smtp');192 $bo_agent = Factory::getInstance('bo_agent_mail_smtp'); 193 193 $known_config_items = array_merge($known_config_items, $bo_agent->listProcessConfigurationFields()); 194 194 … … 589 589 590 590 $myp_id = $item['wf_p_id']; 591 $templateServer = & $GLOBALS['workflow']['factory']->getInstance('TemplateServer');591 $templateServer = &Factory::getInstance('TemplateServer'); 592 592 $this->t->set_var(array( 593 593 'item_wf_p_id' => $myp_id,
Note: See TracChangeset
for help on using the changeset viewer.