delete banners on board delete

merge-requests/208/head
fatchan 5 years ago
parent f3a203fba9
commit f279b61484
  1. 3
      models/forms/deleteboard.js

@ -20,7 +20,8 @@ module.exports = async (uri) => {
Bans.deleteBoard(uri), //bans for the board
Stats.deleteBoard(uri), //stats for the board
remove(`${uploadDirectory}/html/${uri}/`), //html
remove(`${uploadDirectory}/json/${uri}/`) //json
remove(`${uploadDirectory}/json/${uri}/`), //json
remove(`${uploadDirectory}/banners/${uri}/`) //banners
]);
}

Loading…
Cancel
Save