diff --git a/lib/SimpleSAML/Metadata/MetaDataStorageHandlerPdo.php b/lib/SimpleSAML/Metadata/MetaDataStorageHandlerPdo.php
index dc08e5cc4309c2c667dcdc74bc178923a96d417c..cb66c36ca5c1ab0b22299711b2fdd9b70d9ffb3c 100644
--- a/lib/SimpleSAML/Metadata/MetaDataStorageHandlerPdo.php
+++ b/lib/SimpleSAML/Metadata/MetaDataStorageHandlerPdo.php
@@ -62,7 +62,7 @@ class SimpleSAML_Metadata_MetaDataStorageHandlerPdo extends SimpleSAML_Metadata_
     {
         assert('is_array($config)');
 
-        $this->db = SimpleSAML\Database::getInstance($config);
+        $this->db = SimpleSAML\Database::getInstance();
     }