From aca2b2f3b53a313a3a459bb8c9edcf092eafc1b4 Mon Sep 17 00:00:00 2001 From: Sean Harvey Date: Fri, 9 Mar 2012 14:51:34 +1300 Subject: [PATCH] API CHANGE Removed deprecated Security::get_encryption_algorithms() - please use PasswordEncryptor::get_encryptors() instead --- security/Security.php | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/security/Security.php b/security/Security.php index ab0fe4825..3d4e431e0 100644 --- a/security/Security.php +++ b/security/Security.php @@ -725,20 +725,6 @@ class Security extends Controller { } - /** - * Get a list of all available encryption algorithms. - * Note: These are arbitrary codes, and not callable methods. - * - * @deprecated 2.4 Use PasswordEncryptor::get_encryptors() - * - * @return array Returns an array of strings containing all supported encryption algorithms. - */ - public static function get_encryption_algorithms() { - Deprecation::notice('2.4', 'Use PasswordEncryptor::get_encryptors() instead.'); - return array_keys(PasswordEncryptor::get_encryptors()); - } - - /** * Set the password encryption algorithm *