Changeset 156

Show
Ignore:
Timestamp:
01/02/08 18:20:45 (1 year ago)
Author:
pdingle
Message:

fixed updates to 'last used' field in wp_infocard_identities

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/RB-0.91/wp-infocard/wp/userdata.pw.php

    r155 r156  
    228228                                else 
    229229                                { 
    230                                         pw_utils::printDebug( '&nbsp; No Card updates needed<br/>' ); 
     230                                        $query = "UPDATE `wp_infocard_identities` SET " 
     231                                        . "lastused = '$today' WHERE accountid = '$acct'"; 
     232                                        $wpdb->query( $query ); 
     233                                        pw_utils::printDebug( "&nbsp; Updated card 'last used' date<br/>" ); 
    231234                                } 
    232235                        break;