diff --git a/lib/SimpleSAML/Utilities.php b/lib/SimpleSAML/Utilities.php
index 5f0e7cfd5c73873815112416b69ddcc7aa0045ee..8cf4d9318edccf6ac8f894dc821f51be0d120fbe 100644
--- a/lib/SimpleSAML/Utilities.php
+++ b/lib/SimpleSAML/Utilities.php
@@ -538,16 +538,6 @@ class SimpleSAML_Utilities {
 		\SimpleSAML\Utils\Time::initTimezone();
 	}
 
-	/**
-     * @deprecated This method will be removed in SSP 2.0. Please use libxml_disable_entity_loader() instead.
-	 */
-	public static function disableXMLEntityLoader() {
-		/* Function only present in PHP >= 5.2.11 while we support 5.2+ */
-		if ( function_exists('libxml_disable_entity_loader') ) {
-			libxml_disable_entity_loader();
-		}
-	}
-
 	/**
 	 * @deprecated This method will be removed in SSP 2.0. Please use SimpleSAML\Utils\System::writeFile() instead.
 	 */