mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-12-15 08:19:37 +00:00
Fix:Cleanup media progress when deleting podcasts, remove usage of old user model
This commit is contained in:
parent
642cf232ba
commit
a55c167dde
4 changed files with 44 additions and 16 deletions
|
|
@ -469,11 +469,6 @@ class Database {
|
|||
return updated
|
||||
}
|
||||
|
||||
async removeLibraryItem(libraryItemId) {
|
||||
if (!this.sequelize) return false
|
||||
await this.models.libraryItem.removeById(libraryItemId)
|
||||
}
|
||||
|
||||
async createFeed(oldFeed) {
|
||||
if (!this.sequelize) return false
|
||||
await this.models.feed.fullCreateFromOld(oldFeed)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue