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 { GroupsHelper } from "./GroupsHelper";
|
||||||
import { NotificationsHelper } from "./NotificationsHelper";
|
import { NotificationsHelper } from "./NotificationsHelper";
|
||||||
import { AccountImageHelper } from "./AccountImageHelper";
|
import { AccountImageHelper } from "./AccountImageHelper";
|
||||||
|
import { BackgroundImageHelper } from "./BackgroundImageHelper";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Account helper
|
* Account helper
|
||||||
@ -479,8 +480,11 @@ export class AccountHelper {
|
|||||||
|
|
||||||
// Delete all the likes on the user page
|
// Delete all the likes on the user page
|
||||||
await LikesHelper.DeleteAll(userID, LikesType.USER);
|
await LikesHelper.DeleteAll(userID, LikesType.USER);
|
||||||
*/
|
|
||||||
|
|
||||||
|
// Delete user background image
|
||||||
|
await BackgroundImageHelper.Delete(userID);
|
||||||
|
*/
|
||||||
|
|
||||||
// TODO : continue work
|
// TODO : continue work
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -13,4 +13,8 @@ export class BackgroundImageHelper {
|
|||||||
return pathUserData("imgfond/0.jpg");
|
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