Skip to:
Content

bbPress.org

Changeset 2458


Ignore:
Timestamp:
07/07/2010 06:15:43 PM (16 years ago)
Author:
chrishajer
Message:

make bb_delete_usermeta actually delete rather than update. Fixes #1228. Thanks sambauers for the patch and westi for fixing the BackPress bug

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bb-includes/functions.bb-meta.php

    r2457 r2458  
    22
    33/* Options/Meta */
    4 
    54
    65/* Internal */
    … …  
    9695                        global $wp_users_object;
    9796                        $id = $object_id;
    98                         return $wp_users_object->update_meta( compact( 'id', 'meta_key', 'meta_value' ) );
     97                        return $wp_users_object->delete_meta( compact( 'id', 'meta_key', 'meta_value' ) );
    9998                        break;
    10099                case 'forum':
    … …  
    298297                        break;
    299298                case 'version':
    300                         return '1.1-alpha-2457'; // Don't filter
     299                        return '1.1-alpha-2458'; // Don't filter
    301300                        break;
    302301                case 'bb_db_version' :
Note: See TracChangeset for help on using the changeset viewer.