From e73701ace479724e9a1d2c5089bcbaec8d98515b Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Tue, 10 Nov 2015 19:13:06 +0100 Subject: [PATCH] Remove old todo module code --- src/module/mod.rs | 4 +--- src/module/todo/mod.rs | 36 ------------------------------------ 2 files changed, 1 insertion(+), 39 deletions(-) delete mode 100644 src/module/todo/mod.rs diff --git a/src/module/mod.rs b/src/module/mod.rs index 9fd8b88a..859e85da 100644 --- a/src/module/mod.rs +++ b/src/module/mod.rs @@ -6,9 +6,7 @@ use std::fmt::Display; use std::path::Path; use std::result::Result; -use module::todo::TodoModule; - -mod todo; +use storage::backend::*; #[derive(Debug)] pub struct ModuleError { diff --git a/src/module/todo/mod.rs b/src/module/todo/mod.rs deleted file mode 100644 index 617413ab..00000000 --- a/src/module/todo/mod.rs +++ /dev/null @@ -1,36 +0,0 @@ -use runtime::Runtime; -use module::Module; -use module::ModuleResult; -use std::path::Path; -use std::result::Result; - -pub struct TodoModule { - path: Option, -} - -const CALLNAMES : &'static [&'static str] = &[ "todo" ]; - -impl Module for TodoModule { - - fn new(rt : &Runtime) -> TodoModule { - TodoModule { - path: None - } - } - - fn callnames() -> &'static [&'static str] { - CALLNAMES - } - - fn name(&self) -> &'static str{ - "Todo" - } - - fn execute(&self, rt : &Runtime) -> ModuleResult { - Ok(()) - } - - fn shutdown(&self, rt : &Runtime) -> ModuleResult { - Ok(()) - } -}