summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2018-04-18 14:32:09 +0200
committerMatthias Beyer <mail@beyermatthias.de>2018-04-18 14:32:09 +0200
commit6f16924514cc86b4741ad4f3493193412ef323ab (patch)
tree6d49f95a395d7a9a3de12f1b5b4c78651644fb07 /lib
parent816708a1aa25f08a7e7407be1191798364f1b8f6 (diff)
Remove functionality to delete whole wiki
Diffstat (limited to 'lib')
-rw-r--r--lib/domain/libimagwiki/src/store.rs7
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/domain/libimagwiki/src/store.rs b/lib/domain/libimagwiki/src/store.rs
index 2c0b8f51..36106761 100644
--- a/lib/domain/libimagwiki/src/store.rs
+++ b/lib/domain/libimagwiki/src/store.rs
@@ -35,8 +35,6 @@ pub trait WikiStore {
fn retrieve_wiki<'a, 'b>(&'a self, name: &'b str, mainpagename: Option<&str>)
-> Result<Wiki<'a, 'b>>;
- fn delete_wiki<N: AsRef<str>>(&self, name: N) -> Result<()>;
-
}
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> {