2020-09-02 12:19:19 +01:00
|
|
|
module.exports = function(CurrentUser, FriendToRemove) {
|
2021-02-13 02:42:59 +00:00
|
|
|
global.DatabaseHelper.query(`DELETE FROM friends WHERE user = ${CurrentUser.id} AND friendsWith = ${FriendToRemove} LIMIT 1`);
|
2020-09-02 12:19:19 +01:00
|
|
|
}
|