Ignore:
Timestamp:
04/01/11 15:43:54 (13 years ago)
Author:
niltonneto
Message:

Ticket #1692 - Removido verificação e método desnecessários.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2/reports/inc/class.uireports_cota.inc.php

    r3666 r3949  
    7373                        } 
    7474                         
    75                         // Verifica se tem acesso a este modulo 
    76                         if (!$this->functions->check_acl($account_lid,'list_sectors')) 
    77                         { 
    78                                 $GLOBALS['phpgw']->redirect($GLOBALS['phpgw']->link('/reports/inc/access_denied.php')); 
    79                         } 
    80  
    8175                        unset($GLOBALS['phpgw_info']['flags']['noheader']); 
    8276                        unset($GLOBALS['phpgw_info']['flags']['nonavbar']); 
     
    110104                        $varorganizacao_nome = trim(strtoupper(ereg_replace("DC=","",$varorganizacao_nome))); 
    111105                        $user_logon = $GLOBALS['phpgw_info']['user'][account_lid]; 
    112  
    113                         // carrega os grupos no listbox 
    114                         /************* DESCOMENTE ESTE PARTE DO CODIGO PARA LISTAR TODOS OS GRUPOS, SEM LISTAR POR USUSARIO LOGADO ***********  
    115                         $sectors_info = $this->functions->get_groups_list($contexts,"*"); 
    116                         $sectors_info_dn = $this->functions->get_groups_list_dn($contexts,"*"); 
    117                         /* ************************************* FIM *********************************************************************** */ 
    118106 
    119107                        $sectors_info = $this->functions->get_list_context_logon($user_logon,$contexts,0); 
Note: See TracChangeset for help on using the changeset viewer.