summaryrefslogtreecommitdiffstats
path: root/lib/SimpleSAML
diff options
context:
space:
mode:
authorJaime Pérez Crespo <jaime.perez@uninett.no>2015-05-13 12:11:34 +0200
committerJaime Pérez Crespo <jaime.perez@uninett.no>2015-05-13 12:11:34 +0200
commit6595d4fa00d0403e4e5f786b6d5f884c9163737e (patch)
tree80b7a84d7a10d4384b33935a0a8126947521879a /lib/SimpleSAML
parent8d888390ab28c240fff2c081b7ce0504cfb7faf0 (diff)
parent0c432bd294a7c4d5fd489851b10b8e076bda395e (diff)
downloadsimplesamlphp-6595d4fa00d0403e4e5f786b6d5f884c9163737e.zip
simplesamlphp-6595d4fa00d0403e4e5f786b6d5f884c9163737e.tar.gz
simplesamlphp-6595d4fa00d0403e4e5f786b6d5f884c9163737e.tar.bz2
Merge pull request #199 from sgomez/fix-detect-store-class
Removed an 'if' sentence that prevents a Store class from being added.
Diffstat (limited to 'lib/SimpleSAML')
-rw-r--r--lib/SimpleSAML/Store.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/SimpleSAML/Store.php b/lib/SimpleSAML/Store.php
index e45d4a7..2ea922d 100644
--- a/lib/SimpleSAML/Store.php
+++ b/lib/SimpleSAML/Store.php
@@ -47,9 +47,6 @@ abstract class SimpleSAML_Store {
self::$instance = new SimpleSAML_Store_SQL();
break;
default:
- if (strpos($storeType, ':') === FALSE) {
- throw new SimpleSAML_Error_Exception('Unknown datastore type: ' . var_export($storeType, TRUE));
- }
/* Datastore from module. */
$className = SimpleSAML_Module::resolveClass($storeType, 'Store', 'SimpleSAML_Store');
self::$instance = new $className();