Index: /main/waeup.sirp/trunk/src/waeup/sirp/applicants/root.py
===================================================================
--- /main/waeup.sirp/trunk/src/waeup/sirp/applicants/root.py	(revision 7373)
+++ /main/waeup.sirp/trunk/src/waeup/sirp/applicants/root.py	(revision 7374)
@@ -102,25 +102,4 @@
         return
 
-def get_applicant_data(identifier):
-    """Get applicant data associated with `identifier`.
-
-    Returns the applicant object if successful and ``None`` else.
-
-    As `identifier` we expect an access code in format
-    like ``PREFIX-XXX-YYYYYYYY`` where ``PREFIX`` is something like
-    ``APP`` or ``PUDE``, ``XXX`` the access code series and
-    ``YYYYYYYYYY`` the real accesscode number.
-
-    This function requires a fully blown setup as it does catalog
-    lookups for finding applicants.
-    """
-    query = getUtility(IQuery)
-    results = list(query.searchResults(
-            Eq(('applicants_catalog', 'access_code'), identifier)
-            ))
-    if len(results) == 0:
-        return None
-    return results[0]
-
 def application_exists(identifier):
     """Check whether an application for the given identifier already
Index: /main/waeup.sirp/trunk/src/waeup/sirp/applicants/tests/test_root.py
===================================================================
--- /main/waeup.sirp/trunk/src/waeup/sirp/applicants/tests/test_root.py	(revision 7373)
+++ /main/waeup.sirp/trunk/src/waeup/sirp/applicants/tests/test_root.py	(revision 7374)
@@ -218,5 +218,5 @@
         self.ac = u'APP-99999'
         self.applicant = Applicant()
-        self.applicant.access_code = self.ac
+        #self.applicant.access_code = self.ac
         self.app['applicants']['foo'][self.ac] = self.applicant
         return
@@ -233,14 +233,4 @@
         result = application_exists('APP-44444')
         assert result is False
-        return
-
-    def test_get_applicant_data(self):
-        result = get_applicant_data('APP-99999')
-        self.assertEqual(result, self.applicant)
-        return
-
-    def test_get_applicant_data_none(self):
-        result = get_applicant_data('NOT-EXISTIING')
-        assert result is None
         return
 
