Skip to content

Commit

Permalink
mcrypt extension is deprecated as of PHP 7.1.
Browse files Browse the repository at this point in the history
  • Loading branch information
yunosh committed Jul 12, 2016
1 parent 8ab04d3 commit 40ad230
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -39,7 +39,7 @@ class Horde_Crypt_Blowfish_Mcrypt extends Horde_Crypt_Blowfish_Base
*/
public static function supported()
{
return extension_loaded('mcrypt');
return PHP_VERSION_ID < 70100 && extension_loaded('mcrypt');
}

/**
Expand Down

0 comments on commit 40ad230

Please sign in to comment.