diff --git a/include/manager.h b/include/manager.h index 383d33a9..f0d8fd68 100644 --- a/include/manager.h +++ b/include/manager.h @@ -99,14 +99,6 @@ class Manager */ bool readOpds(const string& content, const std::string& urlHost); - /** - * Remove a book from the library. - * - * @param id the id of the book to remove. - * @return True if the book were in the library. - */ - bool removeBookById(const string id); - /** * Set the path of the external fulltext index associated to a book. * diff --git a/src/manager.cpp b/src/manager.cpp index 36fc6f74..f0879013 100644 --- a/src/manager.cpp +++ b/src/manager.cpp @@ -281,10 +281,6 @@ bool Manager::readBookFromPath(const string path, kiwix::Book* book) return true; } -bool Manager::removeBookById(const string id) -{ - return library.removeBookById(id); -} bool Manager::setBookIndex(const string id, const string path, const supportedIndexType type)