Ignore:
Timestamp:
04/12/10 16:21:32 (14 years ago)
Author:
pedroerp
Message:

Ticket #993 - Trocando acessos à GLOBALS por acessos à Settings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sandbox/workflow/branches/993/inc/class.ui_orgchart.inc.php

    r2418 r2492  
    4949                $this->workflow_acl = Factory::getInstance('workflow_acl'); 
    5050 
    51                 $isAdmin = $this->workflow_acl->checkWorkflowAdmin($GLOBALS['phpgw_info']['user']['account_id']); 
    52                 $isOrgchartManager = $this->workflow_acl->checkUserGroupAccessToType('ORG', $GLOBALS['phpgw_info']['user']['account_id']); 
     51                $isAdmin = $this->workflow_acl->checkWorkflowAdmin(Settings::get('expresso', 'user', 'account_id')); 
     52                $isOrgchartManager = $this->workflow_acl->checkUserGroupAccessToType('ORG', Settings::get('expresso', 'user', 'account_id')); 
    5353 
    5454                if (!($isAdmin || $isOrgchartManager)) 
Note: See TracChangeset for help on using the changeset viewer.