/// <summary> /// Removes the "<paramref name="toUserID"/>" from current user's buddy list. /// </summary> /// <param name="toUserID"> /// The to user id. /// </param> /// <returns> /// The name of the second user. /// </returns> public string Remove(int toUserID) { this.ClearCache(toUserID); return(LegacyDb.buddy_remove( YafContext.Current.PageUserID, toUserID, YafContext.Current.BoardSettings.EnableDisplayName)); }
/// <summary> /// Removes the "<paramref name="toUserID"/>" from current user's buddy list. /// </summary> /// <param name="toUserID"> /// The to user id. /// </param> /// <returns> /// The name of the second user. /// </returns> public string Remove(int toUserID) { this.ClearCache(toUserID); return(LegacyDb.buddy_remove(YafContext.Current.PageUserID, toUserID)); }