Remove old check from config validation

These keys are not used, actually.
This commit is contained in:
Matthias Beyer 2016-05-09 17:11:59 +02:00
parent 285832f45f
commit 87c55d5906

View file

@ -120,8 +120,6 @@ pub fn config_is_valid(config: &Option<Value>) -> bool {
match config {
&Some(Value::Table(ref t)) => {
has_key_with_string_ary(t, "pre-read-hook-aspects") &&
has_key_with_string_ary(t, "post-read-hook-aspects") &&
has_key_with_string_ary(t, "pre-create-hook-aspects") &&
has_key_with_string_ary(t, "post-create-hook-aspects") &&
has_key_with_string_ary(t, "pre-retrieve-hook-aspects") &&