Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
03/09/2009 04:52:43 AM (17 years ago)
Author:
apeatling
Message:

Added filters and actions around avatars and logins.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-xprofile/bp-xprofile-classes.php

    r1138 r1176  
    10371037                $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 );
    10381038            }
    1039                        
     1039
    10401040            if ( $wpdb->query($sql) === false )
    10411041                return false;
    1042            
     1042
    10431043            // Updated last site activity for this user.
    10441044            update_usermeta( $userdata->ID, 'last_activity', $this->last_updated );
    10451045           
    10461046            return true;
    1047         } else {
    1048             return false;
    1049         }
     1047        }
     1048       
     1049        return false;
    10501050    }
    10511051
Note: See TracChangeset for help on using the changeset viewer.