/// <summary> /// Approves a buddy request. /// </summary> /// <param name="toUserID"> /// the to user id. /// </param> /// <param name="mutual"> /// should the second user be added to current user's buddy list too? /// </param> /// <returns> /// The name of the second user. /// </returns> public string ApproveRequest(int toUserID, bool mutual) { this.ClearCache(toUserID); return(LegacyDb.buddy_approveRequest( toUserID, YafContext.Current.PageUserID, mutual, YafContext.Current.BoardSettings.EnableDisplayName)); }
/// <summary> /// Approves a buddy request. /// </summary> /// <param name="toUserID"> /// the to user id. /// </param> /// <param name="mutual"> /// should the second user be added to current user's buddy list too? /// </param> /// <returns> /// The name of the second user. /// </returns> public string ApproveRequest(int toUserID, bool mutual) { this.ClearCache(toUserID); return(LegacyDb.buddy_approveRequest(toUserID, YafContext.Current.PageUserID, mutual)); }