Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
Register
mNo edit summary
mNo edit summary
Line 4: Line 4:
   
 
==Arguments==
 
==Arguments==
;name : String - the name of the friend to remove.
+
;name : string - the name of the friend to remove.
   
 
==Returns==
 
==Returns==
;removed : Boolean - whether the friend was successfully removed.
+
;removed : boolean - whether the friend was successfully removed.
   
 
==Patch changes==
 
==Patch changes==

Revision as of 23:42, 21 March 2019

Removes a friend from the friends list.

removed = C_FriendList.RemoveFriend("name")

Arguments

name
string - the name of the friend to remove.

Returns

removed
boolean - whether the friend was successfully removed.

Patch changes

  • Battle for Azeroth Patch 8.1.0 (2018-12-11): Moved to C_FriendList. The previous alias RemoveFriend is deprecated and will be removed in the next expansion.

See also