- Timestamp:
- 03/29/10 14:46:01 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sandbox/workflow/trunk/inc/class.ui_adminprocesses.inc.php
r989 r2372 1 1 <?php 2 require_once 'common.inc.php'; 2 3 require_once(dirname(__FILE__) . SEP . 'class.bo_workflow_forms.inc.php'); 3 4 require_once('engine' . SEP . 'config.egw.inc.php'); … … 54 55 parent::bo_workflow_forms('admin_processes'); 55 56 56 $this->workflow_acl = CreateObject('workflow.workflow_acl');57 $this->workflow_acl = Factory::getInstance('workflow_acl'); 57 58 $denyAccess = true; 58 59 if ($this->workflow_acl->checkWorkflowAdmin($GLOBALS['phpgw_info']['user']['account_id'])) … … 83 84 } 84 85 85 $this->process_manager = CreateObject('workflow.workflow_processmanager');86 $this->activity_manager = CreateObject('workflow.workflow_activitymanager');86 $this->process_manager = Factory::getInstance('workflow_processmanager'); 87 $this->activity_manager = Factory::getInstance('workflow_activitymanager'); 87 88 88 89 $this->form_action = $GLOBALS['phpgw']->link('/index.php', 'menuaction=workflow.ui_adminprocesses.form'); … … 127 128 } 128 129 129 if (! $GLOBALS['workflow']['factory']->getInstance('workflow_acl')->checkWorkflowAdmin($GLOBALS['phpgw_info']['user']['account_id']))130 if (!Factory::getInstance('workflow_acl')->checkWorkflowAdmin($GLOBALS['phpgw_info']['user']['account_id'])) 130 131 { 131 132 $proc_ids = $this->workflow_acl->get_granted_processes($GLOBALS['phpgw_info']['user']['account_id']); … … 190 191 $known_config_items = array_merge($known_config_items, array('Log Options' => 'title', 'log_level' => $log_levels)); 191 192 192 $bo_agent = CreateObject('workflow.bo_agent_mail_smtp');193 $bo_agent = Factory::getInstance('bo_agent_mail_smtp'); 193 194 $known_config_items = array_merge($known_config_items, $bo_agent->listProcessConfigurationFields()); 194 195 … … 589 590 590 591 $myp_id = $item['wf_p_id']; 591 $templateServer = & $GLOBALS['workflow']['factory']->getInstance('TemplateServer');592 $templateServer = &Factory::getInstance('TemplateServer'); 592 593 $this->t->set_var(array( 593 594 'item_wf_p_id' => $myp_id,
Note: See TracChangeset
for help on using the changeset viewer.