mirror of
https://gitlab.com/comunic/comunicapiv2
synced 2024-11-22 05:19:22 +00:00
Add placeholder to delete legacy background image
This commit is contained in:
parent
daed8eff2e
commit
b69b93a9d9
@ -17,6 +17,7 @@ import { FriendsHelper } from "./FriendsHelper";
|
||||
import { GroupsHelper } from "./GroupsHelper";
|
||||
import { NotificationsHelper } from "./NotificationsHelper";
|
||||
import { AccountImageHelper } from "./AccountImageHelper";
|
||||
import { BackgroundImageHelper } from "./BackgroundImageHelper";
|
||||
|
||||
/**
|
||||
* Account helper
|
||||
@ -479,6 +480,9 @@ export class AccountHelper {
|
||||
|
||||
// Delete all the likes on the user page
|
||||
await LikesHelper.DeleteAll(userID, LikesType.USER);
|
||||
|
||||
// Delete user background image
|
||||
await BackgroundImageHelper.Delete(userID);
|
||||
*/
|
||||
|
||||
// TODO : continue work
|
||||
|
@ -13,4 +13,8 @@ export class BackgroundImageHelper {
|
||||
return pathUserData("imgfond/0.jpg");
|
||||
}
|
||||
|
||||
public static async Delete(userID: number) {
|
||||
// Currently, it is not planned to integrate background image anymore
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user