Changeset 6112


Ignore:
Timestamp:
05/07/12 10:10:20 (12 years ago)
Author:
niltonneto
Message:

Ticket #2507 - Corrigido método getUserId() que foi impactado pelo commit anterior.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sandbox/webservice/api/rest/catalog/Catalog.php

    r6019 r6112  
    2121         
    2222        protected function getUserId(){ 
    23                 $userProfile = $this->getUserProfile(); 
    24                 return $userProfile['contactID']; 
     23                return $GLOBALS['phpgw_info']['user']['account_id']; 
    2524        }                
    2625 
Note: See TracChangeset for help on using the changeset viewer.