/[cvs]/nfo/php/libs/org.netfrag.flib/Tracker/User.php
ViewVC logotype

Diff of /nfo/php/libs/org.netfrag.flib/Tracker/User.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by joko, Tue Dec 3 16:47:22 2002 UTC revision 1.3 by jonen, Wed Dec 4 07:42:54 2002 UTC
# Line 3  Line 3 
3  //    $Id$  //    $Id$
4  //    -----------------------------------------------------------------------------  //    -----------------------------------------------------------------------------
5  //    $Log$  //    $Log$
6    //    Revision 1.3  2002/12/04 07:42:54  jonen
7    //    + changes according to backend schema change
8    //
9  //    Revision 1.2  2002/12/03 16:47:22  joko  //    Revision 1.2  2002/12/03 16:47:22  joko
10  //    - function preLogout()  //    - function preLogout()
11  //    + function preLogout($autologout = 0)  //    + function preLogout($autologout = 0)
# Line 247  class User { Line 250  class User {
250    function getAccountSum() {    function getAccountSum() {
251      // store additional user-data to state      // store additional user-data to state
252        if (!$this->state[accountSum]) {        if (!$this->state[accountSum]) {
253          $this->state[accountSum] = $this->get("financeInfo.accountSum");          $this->state[accountSum] = $this->get("account.amount");
254          $this->_saveState();          $this->_saveState();
255        }        }
256        return $this->state[accountSum];        return $this->state[accountSum];
# Line 256  class User { Line 259  class User {
259    function getAccountCurrency() {    function getAccountCurrency() {
260      // store additional user-data to state      // store additional user-data to state
261        if (!$this->state[accountCurrency]) {        if (!$this->state[accountCurrency]) {
262          $this->state[accountCurrency] = $this->get("financeInfo.currency");          $this->state[accountCurrency] = $this->get("account.currency");
263          $this->_saveState();          $this->_saveState();
264        }        }
265        //print "state: " . $this->get("financeInfo.currency") . "<br>";        //print "state: " . $this->get("financeInfo.currency") . "<br>";

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

MailToCvsAdmin">MailToCvsAdmin
ViewVC Help
Powered by ViewVC 1.1.26 RSS 2.0 feed