Remove `removeBookById` from the Manager.

Use the same method of the `Library`.
This commit is contained in:
Matthieu Gautier 2018-09-03 15:46:31 +02:00
parent aa6772b345
commit 04b05dd68b
2 changed files with 0 additions and 12 deletions

View File

@ -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.
*

View File

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