/// <summary> /// Denies a buddy request. /// </summary> /// <param name="toUserID"> /// The to user id. /// </param> /// <returns> /// the name of the second user. /// </returns> public string DenyRequest(int toUserID) { this.ClearCache(toUserID); return(LegacyDb.buddy_denyRequest( toUserID, YafContext.Current.PageUserID, YafContext.Current.BoardSettings.EnableDisplayName)); }
/// <summary> /// Denies a buddy request. /// </summary> /// <param name="toUserID"> /// The to user id. /// </param> /// <returns> /// the name of the second user. /// </returns> public string DenyRequest(int toUserID) { this.ClearCache(toUserID); return(LegacyDb.buddy_denyRequest(toUserID, YafContext.Current.PageUserID)); }