 +        }
 +        return true;
 +    }
- }++
+     public static function method_findIdentifiersByMetadata($data, &$status)
+     {
+         if (!isset($data["key"]) || !isset($data["value"]) || !isset($data['userid'])) {

Index: Methods.php
===================================================================
--- Methods.php	(revision 702)
+++ Methods.php	(working copy)
@@ -132,7 +132,7 @@
         return $result;
     }

     public static function method_isConnectionAllowed($data, &$status)
     {
         if (!isset($data["spentityid"]) || !isset($data["idpentityid"])) {
@@ -140,33 +140,69 @@
             return '';
         }
 
