Changeset 1176 for trunk/bp-xprofile/bp-xprofile-classes.php
- Timestamp:
- 03/09/2009 04:52:43 AM (17 years ago)
- File:
-
- 1 edited
-
trunk/bp-xprofile/bp-xprofile-classes.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-xprofile/bp-xprofile-classes.php
r1138 r1176 1037 1037 $sql = $wpdb->prepare("INSERT INTO {$bp->profile->table_name_data} (user_id, field_id, value, last_updated) VALUES (%d, %d, %s, %s)", $this->user_id, $this->field_id, $this->value, $this->last_updated ); 1038 1038 } 1039 1039 1040 1040 if ( $wpdb->query($sql) === false ) 1041 1041 return false; 1042 1042 1043 1043 // Updated last site activity for this user. 1044 1044 update_usermeta( $userdata->ID, 'last_activity', $this->last_updated ); 1045 1045 1046 1046 return true; 1047 } else {1048 return false;1049 }1047 } 1048 1049 return false; 1050 1050 } 1051 1051
Note: See TracChangeset
for help on using the changeset viewer.