Ignore:
Timestamp:
08/17/10 16:17:12 (14 years ago)
Author:
viani
Message:

Ticket #1135 - Merged r1990:3166 from /trunk/workflow into /branches/2.2/workflow

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2/workflow/inc/class.ui_adminprocesses.inc.php

    r989 r3167  
    5454                parent::bo_workflow_forms('admin_processes'); 
    5555 
    56                 $this->workflow_acl = CreateObject('workflow.workflow_acl'); 
     56                $this->workflow_acl = Factory::getInstance('workflow_acl'); 
    5757                $denyAccess = true; 
    5858                if ($this->workflow_acl->checkWorkflowAdmin($GLOBALS['phpgw_info']['user']['account_id'])) 
     
    8383                } 
    8484 
    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'); 
    8787 
    8888                $this->form_action = $GLOBALS['phpgw']->link('/index.php', 'menuaction=workflow.ui_adminprocesses.form'); 
     
    127127                } 
    128128 
    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'])) 
    130130                { 
    131131                        $proc_ids = $this->workflow_acl->get_granted_processes($GLOBALS['phpgw_info']['user']['account_id']); 
     
    190190                $known_config_items = array_merge($known_config_items, array('Log Options' => 'title', 'log_level' => $log_levels)); 
    191191 
    192                 $bo_agent = CreateObject('workflow.bo_agent_mail_smtp'); 
     192                $bo_agent = Factory::getInstance('bo_agent_mail_smtp'); 
    193193                $known_config_items = array_merge($known_config_items, $bo_agent->listProcessConfigurationFields()); 
    194194 
     
    589589 
    590590                        $myp_id = $item['wf_p_id']; 
    591                         $templateServer = &$GLOBALS['workflow']['factory']->getInstance('TemplateServer'); 
     591                        $templateServer = &Factory::getInstance('TemplateServer'); 
    592592                        $this->t->set_var(array( 
    593593                                'item_wf_p_id'          => $myp_id, 
Note: See TracChangeset for help on using the changeset viewer.