1
0
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:
Pierre HUBERT 2020-03-27 14:57:05 +01:00
parent daed8eff2e
commit b69b93a9d9
2 changed files with 9 additions and 1 deletions

View File

@ -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
} }

View File

@ -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
}
} }