API CHANGE Removed deprecated Security::get_encryption_algorithms() - please use PasswordEncryptor::get_encryptors() instead

This commit is contained in:
Sean Harvey 2012-03-09 14:51:34 +13:00
parent 6e58026c27
commit aca2b2f3b5

View File

@ -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
*