Supprime fonction small_hash dans install.php

Elle était redondante avec la fonction définie dans lib/lib_rss.php
This commit is contained in:
Marien Fressinaud
2013-11-26 22:59:52 +01:00
parent 3be56f08b6
commit d817a35aab

View File

@@ -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';