Remove functionality to delete whole wiki

This commit is contained in:
Matthias Beyer 2018-04-18 14:32:09 +02:00
parent 816708a1aa
commit 6f16924514

View file

@ -35,8 +35,6 @@ pub trait WikiStore {
fn retrieve_wiki<'a, 'b>(&'a self, name: &'b str, mainpagename: Option<&str>) fn retrieve_wiki<'a, 'b>(&'a self, name: &'b str, mainpagename: Option<&str>)
-> Result<Wiki<'a, 'b>>; -> Result<Wiki<'a, 'b>>;
fn delete_wiki<N: AsRef<str>>(&self, name: N) -> Result<()>;
} }
impl WikiStore for Store { impl WikiStore for Store {
@ -86,11 +84,6 @@ impl WikiStore for Store {
} }
} }
/// Delete a wiki and all entries inside
fn delete_wiki<N: AsRef<str>>(&self, name: N) -> Result<()> {
unimplemented!()
}
} }
fn wiki_path(name: &str) -> Result<StoreId> { fn wiki_path(name: &str) -> Result<StoreId> {