summaryrefslogtreecommitdiffstats
path: root/lib/SimpleSAML
diff options
context:
space:
mode:
authorSergio Gómez <sergio@uco.es>2015-05-04 12:49:18 +0200
committerSergio Gómez <sergio@uco.es>2015-05-04 12:49:18 +0200
commit0c432bd294a7c4d5fd489851b10b8e076bda395e (patch)
treedd1b09786016d6cca4facb6b82edd67f1f3b6296 /lib/SimpleSAML
parent029cc7fbf06dc3ece56e68aa68a3176264cbed00 (diff)
downloadsimplesamlphp-0c432bd294a7c4d5fd489851b10b8e076bda395e.zip
simplesamlphp-0c432bd294a7c4d5fd489851b10b8e076bda395e.tar.gz
simplesamlphp-0c432bd294a7c4d5fd489851b10b8e076bda395e.tar.bz2
Removed a 'if' sentence than prevents a Store class couldn't be added if it is named with a namespace instead with the sspmod_<module>_Store_<class> way.
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();