mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-12 22:30:49 +00:00
Removed unused functions preferences::clear_friends and _ignores.
This commit is contained in:
parent
d2372aee8a
commit
91e71896e8
@ -208,14 +208,6 @@ void remove_ignore(const std::string& nick) {
|
||||
}
|
||||
}
|
||||
|
||||
void clear_friends() {
|
||||
preferences::set("friends", "");
|
||||
}
|
||||
|
||||
void clear_ignores() {
|
||||
preferences::set("ignores", "");
|
||||
}
|
||||
|
||||
bool is_friend(const std::string& nick) {
|
||||
initialize_friends();
|
||||
return friends.find(nick) != friends.end();
|
||||
|
@ -56,8 +56,6 @@ namespace preferences {
|
||||
void add_completed_campaign(const std::string& campaign_id);
|
||||
void remove_friend(const std::string& nick);
|
||||
void remove_ignore(const std::string& nick);
|
||||
void clear_friends();
|
||||
void clear_ignores();
|
||||
bool is_friend(const std::string& nick);
|
||||
bool is_ignored(const std::string& nick);
|
||||
bool is_campaign_completed(const std::string& campaign_id);
|
||||
|
Loading…
x
Reference in New Issue
Block a user