|
|
@ -737,10 +737,11 @@ class WeaveStorage
|
|
|
|
try
|
|
|
|
try
|
|
|
|
{
|
|
|
|
{
|
|
|
|
$update_statement = "update users set login = :logintime where username = :username";
|
|
|
|
$update_statement = "update users set login = :logintime where username = :username";
|
|
|
|
|
|
|
|
$time = time();
|
|
|
|
|
|
|
|
|
|
|
|
$sth = $this->_dbh->prepare($update_statement);
|
|
|
|
$sth = $this->_dbh->prepare($update_statement);
|
|
|
|
$sth->bindParam(':username', $username);
|
|
|
|
$sth->bindParam(':username', $username);
|
|
|
|
$sth->bindParam(':logintime', time());
|
|
|
|
$sth->bindParam(':logintime', $time);
|
|
|
|
$sth->execute();
|
|
|
|
$sth->execute();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
catch( PDOException $exception )
|
|
|
|
catch( PDOException $exception )
|
|
|
|