diff --git a/lib/private/util.php b/lib/private/util.php
index 8ffb9e35badec72ff0d293d5e6f0dfcf4bf90784..68b248f000307ea6d242824038387c803074abd9 100644
--- a/lib/private/util.php
+++ b/lib/private/util.php
@@ -1286,16 +1286,6 @@ class OC_Util {
 		return \OC::$server->getSecureRandom()->getMediumStrengthGenerator()->generate($length, \OCP\Security\ISecureRandom::CHAR_LOWER.\OCP\Security\ISecureRandom::CHAR_DIGITS);
 	}
 
-	/**
-	 * Checks if a secure random number generator is available
-	 *
-	 * @return true
-	 * @deprecated Function will be removed in the future and does only return true.
-	 */
-	public static function secureRNGAvailable() {
-		return true;
-	}
-
 	/**
 	 * Get URL content
 	 * @param string $url Url to get content