      private $_blocked = array();
      private $_blockedLoaded = false;
  
-@@ -540,6 +556,29 @@
+@@ -540,6 +556,29 @@ class sspmod_janus_EntityController extends sspmod_janus_Database
      }
  
      /**

      * Import SP SAML 2.0 metadata.
      *
      * Imports SP SAML 2.0 metadata. The entity id is conpared with that entity
@@ -879,6 +918,9 @@
             }
         }
 

         foreach ($parsedmetadata AS $key => $value) {        
             if ($this->hasMetadata($key)) {
                 if (!$this->updateMetadata($key, $value)) {
@@ -905,6 +947,25 @@ class sspmod_janus_EntityController extends sspmod_janus_Database
     }
 
     /**
