mirror of https://github.com/kiwix/libkiwix.git
Remove `removeBookById` from the Manager.
Use the same method of the `Library`.
This commit is contained in:
parent
aa6772b345
commit
04b05dd68b
|
@ -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.
|
||||
*
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue