Ignore:
Timestamp:
01/11/13 08:56:08 (11 years ago)
Author:
pereira.jair
Message:

Ticket #3267 - Re-implementação do Recurso para utilizar a nova Agenda do Expresso.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/prototype/rest/core/LoginResource.php

    r7342 r7732  
    55        private function getUserProfile(){ 
    66                if($this->getExpressoVersion() != "2.2") { 
     7 
    78                        $_SESSION['wallet']['user']['uidNumber'] = $GLOBALS['phpgw_info']['user']['account_id']; 
     9                        $_SESSION['wallet']['user']['uid'] = $GLOBALS['phpgw_info']['user']['account_lid']; 
     10                        $_SESSION['wallet']['user']['password'] = $GLOBALS['phpgw_info']['user']['password']; 
     11                        $_SESSION['wallet']['user']['cn'] = $GLOBALS['phpgw_info']['user']['fullname']; 
     12                        $_SESSION['wallet']['user']['mail'] = $GLOBALS['phpgw_info']['user']['email']; 
     13 
    814                } 
    915         
     
    4450                                'profile'               => array($this->getUserProfile()) 
    4551                        ); 
     52 
    4653                        $this->setResult($result); 
    4754                } 
Note: See TracChangeset for help on using the changeset viewer.