Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

FIX: throw an exception when the key hash function does not exist ins…

…tead of defaulting to md5.
  • Loading branch information...
commit 3f23ded6b66670c6edc86c6cefa3521afa912d09 1 parent f51fbae
@pwhelan pwhelan authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/Stash/Driver/FileSystem.php
View
2  src/Stash/Driver/FileSystem.php
@@ -96,7 +96,7 @@ public function __construct(array $options = array())
$this->keyHashFunction = $options['keyHashFunction'];
}
else {
- $this->keyHashFunction = 'md5';
+ throw new RuntimeException('Key Hash Function does not exist');
}
$this->memStoreLimit = (int)$options['memKeyLimit'];
Please sign in to comment.
Something went wrong with that request. Please try again.