From dbf0ca375e4c625e37807849498a4750ab1d4cbf Mon Sep 17 00:00:00 2001 From: Matthieu Marcillaud <marcimat@rezo.net> Date: Wed, 22 Mar 2023 14:13:25 +0100 Subject: [PATCH] remove: Fonction `_nano_sha256`. Utiliser `hash('sha256', $str);` --- ecrire/auth/sha256.inc.php | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/ecrire/auth/sha256.inc.php b/ecrire/auth/sha256.inc.php index c38fe27e69..2618d13de2 100644 --- a/ecrire/auth/sha256.inc.php +++ b/ecrire/auth/sha256.inc.php @@ -13,14 +13,3 @@ function spip_sha256($str) { return hash('sha256', $str); } - -/** - * @param string $str Chaîne dont on veut calculer le SHA - * @param bool $ig_func - * @return string Le SHA de la chaîne - * @deprecated 4.0 - * @see spip_sha256() - */ -function _nano_sha256($str, $ig_func = true) { - return spip_sha256($str); -} -- GitLab