Changeset 2492 for sandbox/workflow/branches/993/inc/local/classes
- Timestamp:
- 04/12/10 16:21:32 (14 years ago)
- Location:
- sandbox/workflow/branches/993/inc/local/classes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sandbox/workflow/branches/993/inc/local/classes/class.JobBase.php
r2372 r2492 223 223 if (empty($uidNumber)) return false; 224 224 225 $GLOBALS['phpgw_info']['user']['account_id'] = $uidNumber;225 Settings::set('expresso', 'user', 'account_id', $uidNumber); 226 226 $_SESSION['phpgw_info']['workflow']['account_id'] = $uidNumber; 227 227 $GLOBALS['user'] = $uidNumber; -
sandbox/workflow/branches/993/inc/local/classes/class.wf_mail.php
r2372 r2492 51 51 52 52 /* configura os parâmetros para envio de e-mail */ 53 $userLang = $GLOBALS['phpgw_info']['user']['preferences']['common']['lang'];53 $userLang = Settings('expresso', 'preferences', 'lang'); 54 54 /* FIXME: hardcoded 'br' because phpmailer don't use pt-br */ 55 55 if ($userLang == 'pt-br') … … 70 70 { 71 71 $this->SMTPAuth = true; 72 $this->Username = $GLOBALS['phpgw_info']['user']['userid'];73 $this->Password = $GLOBALS['phpgw_info']['user']['passwd'];72 $this->Username = Settings::get('expresso', 'user', 'userid'); 73 $this->Password = Settings::get('expresso', 'user', 'passwd'); 74 74 } 75 75 $this->Encoding = '8bit';
Note: See TracChangeset
for help on using the changeset viewer.