- Timestamp:
- 04/12/10 16:21:32 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sandbox/workflow/branches/993/inc/class.workflow_processmanager.inc.php
r2372 r2492 41 41 if (isset($_GET['p_id'])) 42 42 { 43 if (!($this->workflow_acl->checkWorkflowAdmin( $GLOBALS['phpgw_info']['user']['account_id']) || $this->workflow_acl->check_process_access($GLOBALS['phpgw_info']['user']['account_id'], (int) $_GET['p_id'])))43 if (!($this->workflow_acl->checkWorkflowAdmin(Settings::get('expresso', 'user', 'account_id')) || $this->workflow_acl->check_process_access(Settings::get('expresso', 'user', 'account_id'), (int) $_GET['p_id']))) 44 44 { 45 45 $GLOBALS['phpgw']->common->phpgw_header(); … … 633 633 $this->_rec_copy($old_name,$new_name); 634 634 635 $this->workflow_acl->add_process_admins($new_id, array( $GLOBALS['phpgw_info']['user']['account_id']));635 $this->workflow_acl->add_process_admins($new_id, array( Settings::get('expresso', 'user', 'account_id') )); 636 636 637 637 return $new_id; … … 665 665 if (!$pId) 666 666 { 667 $this->workflow_acl->add_process_admins($id, array( $GLOBALS['phpgw_info']['user']['account_id']) );667 $this->workflow_acl->add_process_admins($id, array( Settings::get('expresso', 'user', 'account_id') ) ); 668 668 } 669 669
Note: See TracChangeset
for help on using the changeset viewer.