Show
Ignore:
Timestamp:
09/09/05 03:01:03 (8 years ago)
Author:
aprilp
Message:

*** empty log message ***

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/wifidog-auth/wifidog/classes/Node.php

    r726 r727  
    486486        } 
    487487 
     488        function setLastPaged($last_paged) 
     489        { 
     490                $this->mDb->ExecSqlUpdate("UPDATE nodes SET last_paged = {$last_paged}::abstime WHERE node_id = '{$this->getId()}'"); 
     491                $this->refresh(); 
     492        } 
     493 
    488494        function getLastHeartbeatIP() 
    489495        { 
     
    503509        function setLastHeartbeatTimestamp($timestamp) 
    504510        { 
    505                 $status = $this->mDb->EscapeString($status); 
    506511                $this->mDb->ExecSqlUpdate("UPDATE nodes SET last_heartbeat_timestamp = '{$timestamp}' WHERE node_id = '{$this->getId()}'"); 
    507512                $this->refresh();