Ignore:
Timestamp:
03/29/10 14:46:01 (14 years ago)
Author:
pedroerp
Message:

Ticket #609 - Merged 2197:2356 /sandbox/workflow/branches/609/ em /sandbox/workflow/trunk.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sandbox/workflow/trunk/inc/class.ui_adminprocesses.inc.php

    r989 r2372  
    11<?php 
     2require_once 'common.inc.php'; 
    23require_once(dirname(__FILE__) . SEP . 'class.bo_workflow_forms.inc.php'); 
    34require_once('engine' . SEP . 'config.egw.inc.php'); 
     
    5455                parent::bo_workflow_forms('admin_processes'); 
    5556 
    56                 $this->workflow_acl = CreateObject('workflow.workflow_acl'); 
     57                $this->workflow_acl = Factory::getInstance('workflow_acl'); 
    5758                $denyAccess = true; 
    5859                if ($this->workflow_acl->checkWorkflowAdmin($GLOBALS['phpgw_info']['user']['account_id'])) 
     
    8384                } 
    8485 
    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'); 
    8788 
    8889                $this->form_action = $GLOBALS['phpgw']->link('/index.php', 'menuaction=workflow.ui_adminprocesses.form'); 
     
    127128                } 
    128129 
    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'])) 
    130131                { 
    131132                        $proc_ids = $this->workflow_acl->get_granted_processes($GLOBALS['phpgw_info']['user']['account_id']); 
     
    190191                $known_config_items = array_merge($known_config_items, array('Log Options' => 'title', 'log_level' => $log_levels)); 
    191192 
    192                 $bo_agent = CreateObject('workflow.bo_agent_mail_smtp'); 
     193                $bo_agent = Factory::getInstance('bo_agent_mail_smtp'); 
    193194                $known_config_items = array_merge($known_config_items, $bo_agent->listProcessConfigurationFields()); 
    194195 
     
    589590 
    590591                        $myp_id = $item['wf_p_id']; 
    591                         $templateServer = &$GLOBALS['workflow']['factory']->getInstance('TemplateServer'); 
     592                        $templateServer = &Factory::getInstance('TemplateServer'); 
    592593                        $this->t->set_var(array( 
    593594                                'item_wf_p_id'          => $myp_id, 
Note: See TracChangeset for help on using the changeset viewer.