Changeset 3167 for branches/2.2/workflow/inc/class.ui_adminsource.inc.php
- Timestamp:
- 08/17/10 16:17:12 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2/workflow/inc/class.ui_adminsource.inc.php
r795 r3167 17 17 */ 18 18 require_once dirname(__FILE__) . SEP . 'class.ui_ajaxinterface.inc.php'; 19 require_once dirname(__FILE__) . SEP . 'class.workflow_acl.inc.php';20 19 require_once 'engine' . SEP . 'config.ajax.inc.php'; 21 20 … … 43 42 function ui_adminsource() 44 43 { 45 $this->workflow_acl = new workflow_acl();44 $this->workflow_acl = Factory::getInstance('workflow_acl'); 46 45 $denyAccess = true; 47 46 if ($this->workflow_acl->checkWorkflowAdmin($_SESSION['phpgw_info']['workflow']['account_id'])) … … 78 77 function form() 79 78 { 80 $smarty = $GLOBALS['workflow']['factory']->getInstance('workflow_smarty', false);79 $smarty = Factory::getInstance('workflow_smarty', false); 81 80 $smarty->setHeader(workflow_smarty::SHOW_HEADER | workflow_smarty::SHOW_NAVIGATION_BAR | workflow_smarty::SHOW_FOOTER, $GLOBALS['phpgw_info']['apps']['workflow']['title'] . ' - ' . lang('Admin Processes Sources')); 82 81
Note: See TracChangeset
for help on using the changeset viewer.