Exemplo n.º 1
0
 /// <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));
 }
Exemplo n.º 2
0
 /// <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));
 }