From d817a35aab2adf3f98e787dc7f9819d1cd411eae Mon Sep 17 00:00:00 2001 From: Marien Fressinaud Date: Tue, 26 Nov 2013 22:59:52 +0100 Subject: [PATCH] Supprime fonction small_hash dans install.php MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Elle était redondante avec la fonction définie dans lib/lib_rss.php --- public/install.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/public/install.php b/public/install.php index 20ced82a5..9aecf7371 100644 --- a/public/install.php +++ b/public/install.php @@ -79,12 +79,6 @@ function writeArray ($f, $array) { } } -// tiré de Shaarli de Seb Sauvage //Format RFC 4648 base64url -function small_hash ($txt) { - $t = rtrim (base64_encode (hash ('crc32', $txt, true)), '='); - return strtr ($t, '+/', '-_'); -} - // gestion internationalisation $translates = array (); $actual = 'en';