Changeset 7732
- Timestamp:
- 01/11/13 08:56:08 (11 years ago)
- Location:
- trunk/prototype/rest/core
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/prototype/rest/core/ExpressoVersionResource.php
r7342 r7732 2 2 3 3 class ExpressoVersionResource extends ExpressoAdapter { 4 5 public function get ($request) { 6 return $this->post($request); 7 } 8 4 9 public function post($request){ 5 10 // to Receive POST Params (use $this->params) -
trunk/prototype/rest/core/LoginResource.php
r7342 r7732 5 5 private function getUserProfile(){ 6 6 if($this->getExpressoVersion() != "2.2") { 7 7 8 $_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 8 14 } 9 15 … … 44 50 'profile' => array($this->getUserProfile()) 45 51 ); 52 46 53 $this->setResult($result); 47 54 }
Note: See TracChangeset
for help on using the changeset viewer.