- Timestamp:
- 04/12/10 16:21:32 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sandbox/workflow/branches/993/inc/class.ui_adminactivities.inc.php
r2372 r2492 74 74 $this->workflow_acl = Factory::getInstance('workflow_acl'); 75 75 $denyAccess = true; 76 if ($this->workflow_acl->checkWorkflowAdmin( $GLOBALS['phpgw_info']['user']['account_id']))76 if ($this->workflow_acl->checkWorkflowAdmin(Settings::get('expresso', 'user', 'account_id'))) 77 77 { 78 78 /* the user is an Expresso/Workflow admin */ … … 85 85 /* check if the user can admin the informed process */ 86 86 if ($this->wf_p_id != 0) 87 $denyAccess = !$this->workflow_acl->check_process_access( $GLOBALS['phpgw_info']['user']['account_id'], $this->wf_p_id);87 $denyAccess = !$this->workflow_acl->check_process_access(Settings::get('expresso', 'user', 'account_id'), $this->wf_p_id); 88 88 else 89 89 $denyAccess = false;
Note: See TracChangeset
for help on using the changeset viewer.