mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-05-20 04:38:55 +00:00
Remove hash function
This commit is contained in:
parent
bfc5ac9435
commit
8b00a772cf
1 changed files with 0 additions and 6 deletions
|
|
@ -66,7 +66,6 @@ function getNonEnglishLanguages() {
|
|||
return nonEnglishLanguages;
|
||||
}
|
||||
|
||||
|
||||
function eachTranslationFile(languages, cb) {
|
||||
let jsonFiles = stripOutNonJsonFiles(fs.readdirSync(ENGLISH_LOCALE));
|
||||
|
||||
|
|
@ -126,11 +125,6 @@ function formatMessageForPosting(msg, items) {
|
|||
return body;
|
||||
}
|
||||
|
||||
function getHash(string) {
|
||||
let hash = md5(`${string}:`);
|
||||
return hash;
|
||||
}
|
||||
|
||||
function stripOutNonJsonFiles(collection) {
|
||||
let onlyJson = _.filter(collection, (file) => {
|
||||
return file.match(/[a-zA-Z]*\.json/);
|
||||
|
|
|
|||
Loading…
Reference in a new issue